Skip to main content

environment_proxy_for_url

Function environment_proxy_for_url 

pub fn environment_proxy_for_url(raw_url: &str) -> Option<&'static str>
Expand description

Return the process proxy variable that reqwest would use for raw_url, excluding destinations covered by NO_PROXY/no_proxy.

DNS-pinned callers use this to surface an intentional environment-proxy bypass instead of silently changing the operator’s egress path.