You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This includes `http_proxy`, `https_proxy` and `all_proxy` semi-standard env vars.
This supports both capital and lower-case env vars because these variables are confusing to
everyone. Curl may have introduced them, and they use lower-case for `http_proxy` and
screaming-snake case for all others[1]. Stack Exchange answers around these questions have multiple
conflicting recommendations (although this one is good[2]), and I've personally seen folks think
that only one or the other (lower, upper) or mixed-use are required for all projects.
Since folks are going to be coming to us with some previous experience and confusion around these,
just supporting both seems like the thing that will cause the fewest number of support requests.
Some downsides of this commit:
* It unfortunately re-introduces time v0.1 into our dependecy tree, but I have a PR up to
remove it.
* PubNub sources don't respect the headers, the client library hard-codes their hyper::Client type
parameters, and `hyper::Client<impl Connect + Clone>` in general is hard to type-erase.
[1]: https://curl.se/docs/manual.html#environment-variables
[2]: https://superuser.com/a/1166790
0 commit comments