fix: support HTTPS proxies#405
fix: support HTTPS proxies#405JustinBeckwith merged 2 commits intogoogleapis:masterfrom JustinBeckwith:proxy
Conversation
Codecov Report
@@ Coverage Diff @@
## master #405 +/- ##
=========================================
Coverage ? 94.79%
=========================================
Files ? 15
Lines ? 961
Branches ? 219
=========================================
Hits ? 911
Misses ? 50
Partials ? 0
Continue to review full report at Codecov.
|
ofrobots
left a comment
There was a problem hiding this comment.
Let's wait for positive confirmation from users before landing this.
src/transporters.ts
Outdated
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
src/transporters.ts
Outdated
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
|
@JustinBeckwith , why did we close this without merging? Did we realize this is not going to work? Looking through the comments this looks promising to me. |
|
My thought at the time was that this wouldn't be effective since it only applies to the auth library, not every library we have. That having been said, it's worth reconsidering! |
|
Which other libraries use |
|
Fair point :) |
Uses https-proxy-agent to provide HTTPS proxy support, making up for the fact that axios doesn't support it natively yet.
I don't have an HTTPS proxy sitting around where I can test this, so I am really throwing stuff at the wall here.
Also of note - there is no reason I can possibly come up with why we would ever support an
HTTPproxy. Every endpoint we're going to hit for a Google service will beHTTPS, so I want to explicitly remove that from the documentation.Fixes #352