forwarder icon indicating copy to clipboard operation
forwarder copied to clipboard

Propagate proxy error messages with HTTPS CONNECT request

Open Choraden opened this issue 2 years ago • 1 comments

When HTTP client fails HTTPS CONNECT request, it does not return the original response, but an error.

Choraden avatar Nov 08 '23 09:11 Choraden

Idea:

Use http.Transport with dedicated dialer using DialVia instead of ProxyURL. On error return specialized error that contains the http.Response or it's representation.

mmatczuk avatar Sep 12 '24 10:09 mmatczuk