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

Enable NO_PROXY environment variable support #835

Merged
merged 4 commits into from
Mar 2, 2020
Merged

Enable NO_PROXY environment variable support #835

merged 4 commits into from
Mar 2, 2020

Conversation

evanlurvey
Copy link
Contributor

This PR addresses issue #360. I found this issue by attempting to use httpx in a environment that had both endpoints that needed to be proxied and ones that needed to stay in the local network. That is when I found out that there was no "NO_PROXY" support.

Copy link
Member

@florimondmanca florimondmanca left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very nice catch, thank you! ✨

A little cosmetic suggestion for the test from me.

tests/client/test_proxies.py Outdated Show resolved Hide resolved
tests/client/test_proxies.py Outdated Show resolved Hide resolved
@florimondmanca florimondmanca added proxies Issues related to HTTP and SOCKS proxies enhancement New feature or request labels Feb 29, 2020
evanlurvey and others added 2 commits February 29, 2020 21:27
Copy link
Member

@florimondmanca florimondmanca left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@florimondmanca florimondmanca merged commit 707e54c into encode:master Mar 2, 2020
@tomchristie tomchristie mentioned this pull request Mar 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request proxies Issues related to HTTP and SOCKS proxies
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants