TLS1.3特殊处理

This commit is contained in:
NepPure authored and GitHub committed 2025-03-01 11:50:39 +08:00
1 parent 0c6deae58c
commit f6a29ac9fc
1 file changed
+1 -1
+1 -1
View File
@@ -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")