summaryrefslogtreecommitdiff
path: root/ext/fetch
diff options
context:
space:
mode:
Diffstat (limited to 'ext/fetch')
-rw-r--r--ext/fetch/proxy.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/fetch/proxy.rs b/ext/fetch/proxy.rs
index b06e0fb35..88fc211ec 100644
--- a/ext/fetch/proxy.rs
+++ b/ext/fetch/proxy.rs
@@ -97,7 +97,7 @@ pub(crate) fn from_env() -> Proxies {
if env::var_os("REQUEST_METHOD").is_none() {
if let Some(proxy) = parse_env_var("HTTP_PROXY", Filter::Http) {
intercepts.push(proxy);
- } else if let Some(proxy) = parse_env_var("http_proxy", Filter::Https) {
+ } else if let Some(proxy) = parse_env_var("http_proxy", Filter::Http) {
intercepts.push(proxy);
}
}