-
-
Notifications
You must be signed in to change notification settings - Fork 9.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
no/no_proxy is not honoured #5731
Comments
I have the same issue:
With 2.28.0 this yields:
Set the following in bash:
and the |
Where is it documented that what you believe is a big should work? At no point has this library supported what you've made up |
From the 2.14.0 release history "Improvements" section:
|
So something from ages ago that is likely not documented elsewhere? |
I did some more testing and was able to make an exception using the per-host proxy settings:
This is more flexible than the I've made a PR to clarify this in the documentation at #6172 |
|
EDIT: I mistakenly thought that this was working in 2.25.0, but this was because in 2.25.0 the It still seems from the code that the I ran into this today
Actually, in requests/src/requests/utils.py Lines 876 to 882 in 4f3f189
You can see that
Should I open a separate issue ? |
I guess PRs are overlooked without an Issues. It's about #5596 and the way handle no_proxy. Since urllib handles
no_proxy
properly, it's the logic in requests that messes with the env in a seemingly twisted way.Expected Result
The ability to use no_proxy vairable via OS and function arguments.
Actual Result
Only OS
no_proxy
ENV is being processed. Uncer certain conditions that were described multiple times in theno_proxy
issues.System Information
The text was updated successfully, but these errors were encountered: