TLS1.3特殊处理

pull/13/head
NepPure 2025-03-01 11:50:39 +08:00 committed by GitHub
parent 0c6deae58c
commit f6a29ac9fc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

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")