pub fn http_proxy_exists(http: &CargoHttpConfig, config: &Config) -> bool
Expand description
Determine if an http proxy exists.
Checks the following for existence, in order:
- Cargo’s
http.proxy
- Git’s
http.proxy
http_proxy
env varHTTP_PROXY
env varhttps_proxy
env varHTTPS_PROXY
env var