I've update the tests so there are tests for the NO_PROXY parameter, but also noticed there was a mistake in the tests. When only HTTP_PROXY is configured, then there should be no proxy being used for https:// websites. This should be done by the HTTPS_PROXY parameter. I've updated the tests to correct this.
Hi 👋
Currently there is support for
HTTP/HTTPS_PROXY
behaviour. But unfortunately not for theNO_PROXY
environment variable.Faraday has native support for all the above parameters since 0.12 (https://github.com/lostisland/faraday/blob/main/CHANGELOG.md#v0120). So there is no need to configure it manually anymore.
I've update the tests so there are tests for the
NO_PROXY
parameter, but also noticed there was a mistake in the tests. When onlyHTTP_PROXY
is configured, then there should be no proxy being used forhttps://
websites. This should be done by theHTTPS_PROXY
parameter. I've updated the tests to correct this.