-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
feat(proxy): Adds NO_PROXY environment variable support #877
Conversation
f06b677
to
b101ca1
Compare
The one thing I could use help with here is that if I don't use |
Just added a commit that manually constructs the proxy each time so as to avoid caching for tests. If that is not desired behavior, let me know what else I can do and I'll change it |
30064f1
to
d1ebc9b
Compare
@seanmonstar, I could definitely use this--can you take a look? |
d1ebc9b
to
1c7cb00
Compare
thank you, works like a charm ❤️ |
1c7cb00
to
3436f29
Compare
Adds support for loading from the `NO_PROXY` or `no_proxy` environment variables. This should make reqwest support the system proxy settings. Please note that I brought in one additional dependency in order to handle CIDR blocks in the no proxy settings. Closes seanmonstar#705
3436f29
to
cba33b3
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great, easy to read. Thanks for putting this together (and apologies for sleeping on it)!
No problem! Thanks for the review |
) * feat(proxy): Adds NO_PROXY environment variable support Adds support for loading from the `NO_PROXY` or `no_proxy` environment variables. This should make reqwest support the system proxy settings. Please note that I brought in one additional dependency in order to handle CIDR blocks in the no proxy settings. Closes seanmonstar#705
Adds support for loading from the
NO_PROXY
orno_proxy
environmentvariables. This should make reqwest support the system proxy settings.
Please note that I brought in one additional dependency in order to
handle CIDR blocks in the no proxy settings.
Closes #705