pub fn proxy_from_environment() -> ProxyFnExpand description
A ProxyFn that reads the standard proxy environment variables, mirroring
Go’s http.ProxyFromEnvironment:
HTTPS_PROXY/https_proxyforhttps://requests,HTTP_PROXY/http_proxyforhttp://requests,NO_PROXY/no_proxya comma-separated exclusion list.
NO_PROXY entries match by exact host, by .suffix (any sub-domain), or
* (everything). The environment is read on each call. A bare
host:port proxy value is treated as an http:// URL.