Joe Previte
|
67e9eca942
|
feat: add tests for shouldEnableProxy
|
2021-07-23 15:07:23 -07:00 |
|
Anmol Sethi
|
ae902b9dd1
|
proxy_agent: Use proxy-from-env for robustness
Now we support pretty much every variable under the sun along with
$NO_PROXY all correctly and with minimal code on our end.
|
2020-12-18 11:10:07 -05:00 |
|
Anmol Sethi
|
94b4ba131e
|
proxy_agent: Implement $HTTPS_PROXY
Just convention, see https://golang.org/pkg/net/http/#ProxyFromEnvironment
|
2020-12-18 10:39:31 -05:00 |
|
Anmol Sethi
|
ecb4d07364
|
proxy_agent: Improve documentation
|
2020-12-18 10:38:46 -05:00 |
|
Anmol Sethi
|
3efd515cdf
|
proxy_agent: Fix very embarrassing mistake
|
2020-12-18 04:24:27 -05:00 |
|
Anmol Sethi
|
58bbf2584a
|
proxy_agent.ts: Document why there is no $HTTPS_PROXY support
|
2020-12-04 13:52:52 -05:00 |
|
Anmol Sethi
|
a021bf5d35
|
Fix CI
|
2020-12-04 13:52:52 -05:00 |
|
Anmol Sethi
|
a72c642125
|
proxy_agent.ts: Document that no other code passes in explicit agent
From my inspection as of this date anyway.
|
2020-12-04 02:34:43 -05:00 |
|
Anmol Sethi
|
691d44d4a8
|
Use proxy-agent to support $HTTP_PROXY
Closes #124
This works by monkey patching the http and https modules's default agent
at runtime to the one given by the proxy-agent package.
|
2020-12-04 02:34:43 -05:00 |
|