feat(proxy): Adds NO_PROXY environment variable support (#877)
* feat(proxy): Adds NO_PROXY environment variable support Adds support for loading from the `NO_PROXY` or `no_proxy` environment variables. This should make reqwest support the system proxy settings. Please note that I brought in one additional dependency in order to handle CIDR blocks in the no proxy settings. Closes #705
This commit is contained in:
@@ -82,6 +82,7 @@ mime_guess = "2.0"
|
||||
percent-encoding = "2.1"
|
||||
tokio = { version = "0.2.5", default-features = false, features = ["tcp", "time"] }
|
||||
pin-project-lite = "0.1.1"
|
||||
ipnet = "2.3"
|
||||
|
||||
# TODO: candidates for optional features
|
||||
|
||||
|
||||
Reference in New Issue
Block a user