-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
HTTP only system proxy not working properly on Windows #2164
Comments
Can you confirm the output of
Davy pointed at that being a step towards debugging but I haven't seen you provide that information |
it is in https. But since I didn't set any
|
Oh so it's a https://github.com/python/cpython/blob/master/Lib/urllib/request.py#L2691 |
For reference: https://bugs.python.org/issue42627 |
This finally has been fixed in Python 3.10.5. All previous versions (in all branches) are still affected. |
Subject
Since Python 3.9, both
requests
andpip
not working properly with a Windows system proxy set.Environment
Describe your environment.
At least, paste here the output of:
Steps to Reproduce
Expected Behavior
Code executed without error. urllib and requests parse system proxy as HTTP proxy.
Actual Behavior
urllib parsed system proxy as HTTPS proxy and throw an error.
There are several issues around like psf/requests#5740 and pypa/pip#9216 (comment) , from those issues I was told it's a urllib issue.
The text was updated successfully, but these errors were encountered: