-
Notifications
You must be signed in to change notification settings - Fork 68
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
How to intercept the http response from server and modify it's content before sending it to the client? #86
Comments
I believe there are examples in the test cases. I am using this extensively. Where is the issue? |
I am new to netty.io framework.... All I want is to create an http proxy server that performs MITM by modifying http response body from the server (backend) on the fly before hitting the client (frontend). After digging into the code of this library, I found this method could be the place to modify http response body. but I don't know how to parse the ByteBuf data (method parameter) to get plain (text/json) data from it.
Could you point out to which example? |
@abdou4a You were right that this is indeed missing. The listener interface exists but is never called by the Http2EventHandler. |
This only works to create a whole new response. |
I found this library and seemed to work on my case, but I am stuck finding a way to intercept the http response from server and modify it's content before sending it to the client.
The text was updated successfully, but these errors were encountered: