support for download via proxy
leriksen opened this issue · 2 comments
leriksen commented
If you're trying to install behind a (corp) proxy, the http client doesn't attempt to make the connection via the users HTTP(S)_PROXY envvar.
I have a patch ready if this would be useful.
Only caveat is that the URL in the HTTP_PROXY envvar begins with a protocol e.g. HTTP_PROXY=http://localhost:3128. HTTP_PROXY=localhost:3128 wont work, due to limitations in Node's url parsing function.
karak commented
Is this merged? My module can't complete downloading(version 0.0.9).
jpeyper commented
it was closed, not merged.