Neil Mitchell opened an issue[1] for http_proxy and https_proxy environment variable support in http-client. I've written that support, and it's ready to go, but there's an open question: what should the default behavior be? In particular, should environment variables, by default, be checked to determine the proxy, or not? Arguments each way:<div><br></div><div>In favor of using environment variables:</div><div>* Matches behavior of many other tools and libraries</div><div>* Allows application users control without requiring a code change from application writers</div><div><br></div><div>Against using environment variables:</div><div>* It's a change in behavior vs what http-client does today (though that could certainly be seen as just a missing feature)</div><div>* Environment variables will implicitly change the behavior of code, which generally speaking can be problematic</div><div><br></div><div>I'm leaning towards having the default behavior be:</div><div><br></div><div>* If the user explicitly chooses a proxy setting on the manager, use that</div><div>* If the user explicitly sets a proxy value on the Request, use that</div><div>* If the environment variable is set, use that</div><div>* Otherwise, no proxy</div><div><br></div><div>In addition to whether we should make this change in behavior, I'm also interested in whether people think this should require a major version bump.</div><div><div><br></div><div>[1] <a href="https://github.com/snoyberg/http-client/issues/94">https://github.com/snoyberg/http-client/issues/94</a></div></div>