1# For backwards compatibility, provide imports that used to be here.
2from __future__ import annotations
3
4from .connection import is_connection_dropped
5from .request import SKIP_HEADER, SKIPPABLE_HEADERS, make_headers
6from .response import is_fp_closed
7from .retry import Retry
8from .ssl_ import (
9 ALPN_PROTOCOLS,
10 IS_PYOPENSSL,
11 SSLContext,
12 assert_fingerprint,
13 create_urllib3_context,
14 resolve_cert_reqs,
15 resolve_ssl_version,
16 ssl_wrap_socket,
17)
18from .timeout import Timeout
19from .url import Url, parse_url
20from .wait import wait_for_read, wait_for_write
21
22__all__ = (
23 "IS_PYOPENSSL",
24 "SSLContext",
25 "ALPN_PROTOCOLS",
26 "Retry",
27 "Timeout",
28 "Url",
29 "assert_fingerprint",
30 "create_urllib3_context",
31 "is_connection_dropped",
32 "is_fp_closed",
33 "parse_url",
34 "make_headers",
35 "resolve_cert_reqs",
36 "resolve_ssl_version",
37 "ssl_wrap_socket",
38 "wait_for_read",
39 "wait_for_write",
40 "SKIP_HEADER",
41 "SKIPPABLE_HEADERS",
42)