Initial commit
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
import ssl
|
||||
|
||||
import certifi
|
||||
|
||||
|
||||
def default_ssl_context() -> ssl.SSLContext:
|
||||
context = ssl.create_default_context()
|
||||
context.load_verify_locations(certifi.where())
|
||||
return context
|
||||
Reference in New Issue
Block a user