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
It would be great if Req supported reading http_proxy and https_proxy environment variables out of the box. A use case I have in mind is being able to debug HTTP interaction in programs that use Req as an HTTP client. For example, via tools like mitmproxy.
In my own programs, I can use proxy settings introduced in #149 or even go as far as to use System.get_env to optionally read http_proxy and https_proxy ENV vars. However, for packages that rely on Req this may be much harder and requi modification of the package's source code (unless I am missing something, of course).
P.S. I am not sure if this is the right place to file an issue, or if it should be Finch 🙈 Mint issue tracker would not the right place, it seems (based on elixir-mint/mint#92)
The text was updated successfully, but these errors were encountered:
I think we should support http_proxy env var out of the box but also have an :http_proxy option that can be set with the same value. (Same goes for https.) WDYT?
It would be great if Req supported reading http_proxy and https_proxy environment variables out of the box. A use case I have in mind is being able to debug HTTP interaction in programs that use Req as an HTTP client. For example, via tools like mitmproxy.
In my own programs, I can use proxy settings introduced in #149 or even go as far as to use System.get_env to optionally read http_proxy and https_proxy ENV vars. However, for packages that rely on Req this may be much harder and requi modification of the package's source code (unless I am missing something, of course).
P.S. I am not sure if this is the right place to file an issue, or if it should be Finch 🙈 Mint issue tracker would not the right place, it seems (based on elixir-mint/mint#92)
The text was updated successfully, but these errors were encountered: