Definitely, that's part of the changeset already.<br><br><div class="gmail_quote">On Mon Jan 19 2015 at 4:33:25 PM Miguel Mitrofanov <<a href="mailto:miguelimo38@yandex.ru">miguelimo38@yandex.ru</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I think it might be good to also allow user to explicitly require not to use proxy, even if it's set in environment.<br>
<br>
19.01.2015, 16:53, "Michael Snoyman" <<a href="mailto:michael@snoyman.com" target="_blank">michael@snoyman.com</a>>:<br>
> 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:<br>
><br>
> In favor of using environment variables:<br>
> * Matches behavior of many other tools and libraries<br>
> * Allows application users control without requiring a code change from application writers<br>
><br>
> Against using environment variables:<br>
> * It's a change in behavior vs what http-client does today (though that could certainly be seen as just a missing feature)<br>
> * Environment variables will implicitly change the behavior of code, which generally speaking can be problematic<br>
><br>
> I'm leaning towards having the default behavior be:<br>
><br>
> * If the user explicitly chooses a proxy setting on the manager, use that<br>
> * If the user explicitly sets a proxy value on the Request, use that<br>
> * If the environment variable is set, use that<br>
> * Otherwise, no proxy<br>
><br>
> 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.<br>
><br>
> [1] <a href="https://github.com/snoyberg/http-client/issues/94" target="_blank">https://github.com/<u></u>snoyberg/http-client/issues/94</a><br>
> ,<br>
><br>
> ______________________________<u></u>_________________<br>
> Haskell-Cafe mailing list<br>
> <a href="mailto:Haskell-Cafe@haskell.org" target="_blank">Haskell-Cafe@haskell.org</a><br>
> <a href="http://www.haskell.org/mailman/listinfo/haskell-cafe" target="_blank">http://www.haskell.org/<u></u>mailman/listinfo/haskell-cafe</a><br>
</blockquote></div>