Re: [go-nuts] HTTPS proxy issue using CONNECT method

2022-12-04 Thread Mauro Monteiro
Hello Sean The proxy is a HTTPS proxy which exposes an endpoint that ONLY accepts HTTP CONNECT method. The code checks with the HTTP method informed is CONNECT and then it tries to establish the TCP connection with the target informed. Otherwise the request is rejected. Therefore, the proxy is

Re: [go-nuts] HTTPS proxy issue using CONNECT method

2022-12-03 Thread 'Sean Liao' via golang-nuts
How are you setting the proxy? - sean On Sat, Dec 3, 2022, 16:46 Mauro Monteiro wrote: > Hello all, > > I have been facing an issue when I try to create a HTTP client which needs > to connect through a HTTPS proxy using the HTTP CONNEC method. I know that > it can be achieved setting my own

[go-nuts] HTTPS proxy issue using CONNECT method

2022-12-03 Thread Mauro Monteiro
Hello all, I have been facing an issue when I try to create a HTTP client which needs to connect through a HTTPS proxy using the HTTP CONNEC method. I know that it can be achieved setting my own http.Transport object. However the issue seems to be in the current implementation of