module documentation

Undocumented

Class DummyConnection Used to detect a failed ConnectionCls import.
Class HTTPConnection Based on :class:`http.client.HTTPConnection` but provides an extra constructor backwards-compatibility layer between older and newer Pythons.
Class HTTPSConnection Many of the parameters to this constructor are passed to the underlying SSL socket by means of :py:func:`urllib3.util.ssl_wrap_socket`.
Constant RECENT_DATE Undocumented
Variable log Undocumented
Variable port_by_scheme Undocumented
Function _get_default_user_agent Undocumented
Function _match_hostname Undocumented
Constant _CONTAINS_CONTROL_CHAR_RE Undocumented
RECENT_DATE = (source)

Undocumented

Value
datetime.date(2022, 1, 1)

Undocumented

port_by_scheme: dict[str, int] = (source)

Undocumented

def _get_default_user_agent(): (source)

Undocumented

def _match_hostname(cert, asserted_hostname): (source)

Undocumented

_CONTAINS_CONTROL_CHAR_RE = (source)

Undocumented

Value
re.compile(r'[^-!#\$%&\'\*\+\.\^_`\|~0-9a-zA-Z]')