-
Notifications
You must be signed in to change notification settings - Fork 3.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
Use no_proxy when self.proxy is falsey #1195
Conversation
When `self.proxy === undefined` or `self.proxy === null`, the no_proxy logic is not executed. Change test to look for falsey value of `self.proxy` instead of existence of property. See request#1194 for more details.
It looks to me like when (for example) |
Also, this breaks the |
@FredKSchott sure, so if |
Ahhhhh I see what you mean now :) Yea, that definitely needs to be handled |
@FredKSchott @tauren if there's a problem we want to fix it. However, given the discussion above, I don't understand what this change is actually doing / supposed to do. |
My objective is to get NO_PROXY settings working with I've submitted a PR to Bottom line is I'm open to suggestions on how to solve this. Should Maybe |
Current status of adding NO_PROXY support to
At this point, I'm not convinced my |
After thinking about this further, it seems an effective solution would be for
However, I assume this would be a breaking change and probably isn't possible. |
To avoid a breaking change, we could keep Though, wouldn't it be easier for npm to just do |
Landed in npm/npm@40afd6a and npm/npm@294b13a, with |
In other words, nothing needed to be done for |
Closing this issue then, thanks guys! |
When
self.proxy === undefined
orself.proxy === null
, the no_proxy logic is not executed. Change test to look for falsey value ofself.proxy
instead of existence of property.See #1194 for more details.