Consistent handling of HTTP/S proxy environment variables#2079
Merged
tisonkun merged 4 commits intoapache:trunkfrom Mar 13, 2026
Merged
Consistent handling of HTTP/S proxy environment variables#2079tisonkun merged 4 commits intoapache:trunkfrom
tisonkun merged 4 commits intoapache:trunkfrom
Conversation
…m handling through Requests library
tisonkun
reviewed
Jan 27, 2026
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## trunk #2079 +/- ##
=======================================
Coverage 83.36% 83.36%
=======================================
Files 353 353
Lines 81886 81906 +20
Branches 9004 9007 +3
=======================================
+ Hits 68258 68278 +20
Misses 10799 10799
Partials 2829 2829
🚀 New features to boost your workflow:
|
Member
@davidwegs I'd approve this PR once the format issue get resolved :D |
Contributor
Author
|
Thanks @tisonkun! Format issue should be resolved now |
tisonkun
approved these changes
Mar 13, 2026
Member
tisonkun
left a comment
There was a problem hiding this comment.
Thanks for your contribution @davidwegs! LGTM.
cc @micafer if you have time to give a review as well
I'm going to merge this patch in days.
Member
|
With one more approval I'd merge it now :D |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Consistent handling of HTTP/S proxy environment variables
Description
This PR provides consistent handling of the
http_proxy,https_proxy, andno_proxyenvironment variables in line with the behavior of the Requests python library. Previouslyno_proxywasn't being respected (#2077).This is done by removing explicit handling of the
http_proxyandhttps_proxyenv variables in favor of downstream handling through the Requests library. Explicitly provided proxy settings through theproxy_urlargument to the connection class and through theset_http_proxymethod are still supported and still take precedence over the environment variables.Status
done, ready for review
Checklist (tick everything that applies)