nitmproxy
nitmproxy copied to clipboard
How to modify the request then forward to server?
@chhsiao90 , NitmProxyListener can intercept the request and return a response instead of sending it to server by using
Optional<FullHttpResponse> onHttp1Request(ConnectionContext connectionContext, FullHttpRequest request)
,
but how can I modify the request then forward to server? For example, add a signature header to original request.
Thanks for your great work.