Skip to content

Commit

Permalink
Merge pull request #1727 from PyO3/upload_all_proxy
Browse files Browse the repository at this point in the history
Support `ALL_PROXY` in upload
  • Loading branch information
messense committed Aug 11, 2023
2 parents 5ead412 + 6ed100f commit 68c7c2a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/upload.rs
Original file line number Diff line number Diff line change
Expand Up @@ -360,6 +360,8 @@ fn http_proxy() -> Result<String, env::VarError> {
.or_else(|_| env::var("https_proxy"))
.or_else(|_| env::var("HTTP_PROXY"))
.or_else(|_| env::var("http_proxy"))
.or_else(|_| env::var("ALL_PROXY"))
.or_else(|_| env::var("all_proxy"))
}

#[cfg(any(feature = "native-tls", feature = "rustls"))]
Expand Down

0 comments on commit 68c7c2a

Please sign in to comment.