Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

Fix proxy config for binary download #1789

Merged
merged 1 commit into from
Nov 5, 2016
Merged

Conversation

xzyfer
Copy link
Contributor

@xzyfer xzyfer commented Nov 5, 2016

In #1725 we started setting proxy: '' to defer proxy resolution
logic to request. However request uses hasOwnProperty rather
than falsey checks to determine if an option has been set. This
caused request to believe were configuring a proxy so it didn't
do it's own proxy resolution.

Fixes #1785
Fixes #1787

@xzyfer xzyfer force-pushed the fix/download-proxy-opts branch 2 times, most recently from a7cb416 to c34dbb4 Compare November 5, 2016 04:36
In #1725 we started setting `proxy: ''` to defer proxy resolution
logic to request. However `request` uses `hasOwnProperty` rather
than falsey checks to determine if an option has been set. This
caused `request` to believe were configuring a proxy so it didn't
do it's own proxy resolution.

Fixes #1785
Fixes #1787
@xzyfer xzyfer merged commit 2acdcf0 into master Nov 5, 2016
@xzyfer xzyfer deleted the fix/download-proxy-opts branch November 5, 2016 04:55
@nschonni nschonni added this to the 3.11.1 milestone Nov 8, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants