httpful icon indicating copy to clipboard operation
httpful copied to clipboard

Curl proxy configuration is not used by Httpful

Open porteg opened this issue 4 years ago • 1 comments

Hi.

We are using Httpful library to do some REST requests. All of them are to other internal systems in the same network so those request does not require the use of a proxy.

Now, we need to do a request to a system that requires the proxy. This proxy has been set into the $HTTPS_PROXY environment variable and using curl all is working fine.

The problem is that Httpful is not working, the response is "Unable to connect to *************** : 56 Received HTTP code 400 from proxy after CONNECT"

We have also tried to set the proxy with useProxy function but the result is the same.

Could you help us?

porteg avatar Aug 27 '20 11:08 porteg

The version we are using is 0.2.19.

porteg avatar Aug 27 '20 11:08 porteg