chore(cmcc): 静音 InsecureRequestWarning(legacy 池 CERT_NONE 是有意行为)
This commit is contained in:
@@ -51,6 +51,9 @@ from datetime import datetime, timedelta, timezone
|
|||||||
import requests
|
import requests
|
||||||
import urllib3
|
import urllib3
|
||||||
|
|
||||||
|
# 静音 InsecureRequestWarning([A] 专用 legacy-SSL 池本就 CERT_NONE,刷屏无信息量)
|
||||||
|
urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)
|
||||||
|
|
||||||
# ---------------------------------------------------------------- SSL 兼容
|
# ---------------------------------------------------------------- SSL 兼容
|
||||||
# 中国移动 client.app.coc.10086.cn 用 legacy TLS renegotiation(OpenSSL 3.x 默认拒:
|
# 中国移动 client.app.coc.10086.cn 用 legacy TLS renegotiation(OpenSSL 3.x 默认拒:
|
||||||
# UNSAFE_LEGACY_RENEGOTIATION_DISABLED,青龙容器 Python3.11 实测命中)。
|
# UNSAFE_LEGACY_RENEGOTIATION_DISABLED,青龙容器 Python3.11 实测命中)。
|
||||||
|
|||||||
Reference in New Issue
Block a user