Hackney handle HTTP_PROXY and HTTPS_PROXY variables as they define the same thing. In fact (e.g. curl documentation) HTTP_PROXY should be used only for http requests and HTTPS_PROXY should be used only for https requests. This PR fixes that.
Moreover, this PR adds ALL_PROXY environment variable handling.
Hackney handle
HTTP_PROXY
andHTTPS_PROXY
variables as they define the same thing. In fact (e.g.curl
documentation)HTTP_PROXY
should be used only for http requests andHTTPS_PROXY
should be used only for https requests. This PR fixes that. Moreover, this PR addsALL_PROXY
environment variable handling.