blob: b7eea5be8bc3fa5c247797cdb1fc49af8ce9ae4a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
--- contrib/python/requests/py3/requests/adapters.py (index)
+++ contrib/python/requests/py3/requests/adapters.py (working tree)
@@ -76,7 +76,8 @@ DEFAULT_POOL_TIMEOUT = None
try:
import ssl # noqa: F401
-
+ import urllib3.util.ssl_
+ urllib3.util.ssl_.SSLContext = ssl.SSLContext
_preloaded_ssl_context = create_urllib3_context()
_preloaded_ssl_context.load_verify_locations(
extract_zipped_paths(DEFAULT_CA_BUNDLE_PATH)
|