-
-
Notifications
You must be signed in to change notification settings - Fork 31.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
allow logging.handlers.HTTPHandler to take an SSLContext #66977
Comments
It would be nice if HTTPHandler could take an SSLContext as a parameter, which would be passed to HTTPSConnection to configure the security of the connection. |
I'm not sure I follow, where does HTTPHandler ever construct an HTTPSConnection? |
emit() On Mon, Nov 3, 2014, at 15:33, Alex Gaynor wrote:
|
Hah! I didn't realize you meant *logging.handlers.HTTPHandler*, I thought you meant *urllib.request.HTTPHandler*. |
Right then... |
Quick pass at a patch. No docs, and it should proabbly be an error to pass context with secure=False. |
New changeset 5864ec6ba484 by Benjamin Peterson in branch '3.4': New changeset ec4d19736b15 by Benjamin Peterson in branch 'default': |
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: