fix(utils): preserve _ssl_context when copying SSLCiphers adapter

This commit is contained in:
imSp4rky
2026-08-31 11:51:17 -06:00
parent 57ddefc69b
commit ca92022281
+2
View File
@@ -44,6 +44,8 @@ class SSLCiphers(HTTPAdapter):
than 15360 bits and ECC keys shorter than 512 bits are prohibited.
"""
__attrs__ = [*HTTPAdapter.__attrs__, "_ssl_context"]
def __init__(self, cipher_list: Optional[str] = None, security_level: int = 0, *args, **kwargs):
if cipher_list:
if not isinstance(cipher_list, str):