You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
using deprecated SSLContext() with no ssl.PROTOCOL_TLS_CLIENT flag #384
Deprecated since version 3.10: SSLContext without protocol argument is deprecated. The context class will either require PROTOCOL_TLS_CLIENT or PROTOCOL_TLS_SERVER protocol in the future.
Activity
graingert commentedon Jul 31, 2021
I tried setting this to
SSLContext(ssl.PROTOCOL_TLS_CLlENT)but then ssl couldn't get the local issuer certificate of hypercornlovelydinosaur commentedon Nov 16, 2021
This is..... brief. 😅
What's the issue here?
graingert commentedon Nov 16, 2021
Calling
SSLContext()(with no arguments) is deprecated and throws a warning with them enabledlovelydinosaur commentedon Nov 16, 2021
Ah yes... https://docs.python.org/3/library/ssl.html#ssl.SSLContext
Assume this is no longer valid, since we're using
ssl.create_default_context()now... https://github.com/encode/httpcore/blob/master/httpcore/_ssl.py