Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Curl proxy configuration is not used by Httpful #289

Open
porteg opened this issue Aug 27, 2020 · 1 comment
Open

Curl proxy configuration is not used by Httpful #289

porteg opened this issue Aug 27, 2020 · 1 comment

Comments

@porteg
Copy link

porteg commented Aug 27, 2020

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
Copy link
Author

porteg commented Aug 27, 2020

The version we are using is 0.2.19.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant