I'm using a MITM proxy that itself connect to another proxy and I'm trying to get the response headers received from the CONNECT request.
I currently set the proxy transport in the proxy.OnRequest().HandleConnectFunc(...)
But I would need something like proxy.OnResponse().HandleConnectFunc(...)
to get the response headers.
I'm using a MITM proxy that itself connect to another proxy and I'm trying to get the response headers received from the CONNECT request.
I currently set the proxy transport in the
proxy.OnRequest().HandleConnectFunc(...)
But I would need something likeproxy.OnResponse().HandleConnectFunc(...)
to get the response headers.Is there any way to do this ?