TLS1.3特殊处理
This commit is contained in:
1 parent
0c6deae58c
commit
f6a29ac9fc
1 file changed
+1
-1
@@ -17,7 +17,7 @@ from .utils_user import get_user_nickname
|
||||
import urllib3
|
||||
from urllib3.util import create_urllib3_context
|
||||
|
||||
|
||||
# TLS1.3特殊处理 https://github.com/psf/requests/issues/6616
|
||||
ctx = create_urllib3_context()
|
||||
ctx.load_default_certs()
|
||||
ctx.set_ciphers("AES128-GCM-SHA256")
|
||||
|
||||
Reference in new issue
Block a user