Alternative TLS Backends¶
See TLS backends, ECH, and post-quantum security for capabilities, ECH, profiles, and context portability, and Alternative TLS backends (anytls) for selection settings.
urllib3.contrib.anytls¶
Single point of resolution for the active TLS backend.
This module masks the conditional import rtls as ssl / import utls as
ssl / import ssl dance that would otherwise be duplicated in every
module that needs TLS. It picks the best available backend at import time
following the default priority:
rtls (Rustls + AWS-LC) -> utls (BoringSSL) -> ssl (stdlib)