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

Support NO_PROXY environment variable and fix HTTP_PROXY/HTTPS_PROXY behaviour #218

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

pcallewaert
Copy link

Hi 👋

Currently there is support for HTTP/HTTPS_PROXY behaviour. But unfortunately not for the NO_PROXY environment variable.

Faraday has native support for all the above parameters since 0.12 (https://github.com/lostisland/faraday/blob/main/CHANGELOG.md#v0120). So there is no need to configure it manually anymore.

I've update the tests so there are tests for the NO_PROXY parameter, but also noticed there was a mistake in the tests. When only HTTP_PROXY is configured, then there should be no proxy being used for https:// websites. This should be done by the HTTPS_PROXY parameter. I've updated the tests to correct this.

@ghost
Copy link

ghost commented May 31, 2022

CLA assistant check
All CLA requirements met.

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

Successfully merging this pull request may close these issues.

1 participant