Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trying to understand org.littleshoot.proxy.ChainedProxy.filterRequest(HttpObject) #426

Open
nhrdl opened this issue Dec 18, 2018 · 2 comments

Comments

@nhrdl
Copy link

nhrdl commented Dec 18, 2018

I'm trying to understand what does method org.littleshoot.proxy.ChainedProxy.filterRequest(HttpObject) do.

Name filterRequest makes it sound like I can actually filter the request - like drop the request or change parameters. Since method is void, it can return any kind of data too?

Does the method allows me to change http headers

@lnvodv
Copy link

lnvodv commented Dec 18, 2018

Yes you can use ChainedProxy.filterRequest(HttpObject) to change the request headers (assuming you're using http and not https).

@mrog
Copy link

mrog commented Dec 18, 2018 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants