Applying an upstream proxy in mitmproxy
https://github.com/mitmproxy/mitmproxy/issues/6006#issuecomment-1482367935 This explains how to dynamically apply an upstream proxy in mitmproxy. There was a pa
https://github.com/mitmproxy/mitmproxy/issues/6006#issuecomment-1482367935
This explains how to dynamically apply an upstream proxy in mitmproxy.
There was a particularly tricky part in dynamically handling upstream proxy mode itself: it was the proxy authentication.
Even if you add Proxy-Authorization to the header value,
When connecting to the actual upstream proxy, the value is stripped before being sent.