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
urllib should support SSL contexts #53051
Comments
3.2 introduces SSL contexts, which allow bundling SSL configuration options, certificates and private keys into a single (potentially long-lived) structure. urllib.request.*URLOpener should allow passing an SSL context object, if not already possible. (I hope you don't mind the multiple similar issues, but I think one separate issue per stdlib module is more manageable) |
Actual URL for SSL contexts (sorry): |
Degrade; this old implementation (urllib vs urllib2) shoud be phased out IMO. This issue shows that I was myself fooled by the urllib.request documentation. |
HTTPSHandler now allows to pass an SSLContext and the old API should be buried in the ground, closing. |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: