mirror of
https://github.com/SickGear/SickGear.git
synced 2024-12-22 18:53:38 +00:00
50 lines
1.1 KiB
Python
50 lines
1.1 KiB
Python
|
from __future__ import absolute_import
|
||
|
|
||
|
# For backwards compatibility, provide imports that used to be here.
|
||
|
from .connection import is_connection_dropped
|
||
|
from .request import SKIP_HEADER, SKIPPABLE_HEADERS, make_headers
|
||
|
from .response import is_fp_closed
|
||
|
from .retry import Retry
|
||
|
from .ssl_ import (
|
||
|
ALPN_PROTOCOLS,
|
||
|
HAS_SNI,
|
||
|
IS_PYOPENSSL,
|
||
|
IS_SECURETRANSPORT,
|
||
|
PROTOCOL_TLS,
|
||
|
SSLContext,
|
||
|
assert_fingerprint,
|
||
|
resolve_cert_reqs,
|
||
|
resolve_ssl_version,
|
||
|
ssl_wrap_socket,
|
||
|
)
|
||
|
from .timeout import Timeout, current_time
|
||
|
from .url import Url, get_host, parse_url, split_first
|
||
|
from .wait import wait_for_read, wait_for_write
|
||
|
|
||
|
__all__ = (
|
||
|
"HAS_SNI",
|
||
|
"IS_PYOPENSSL",
|
||
|
"IS_SECURETRANSPORT",
|
||
|
"SSLContext",
|
||
|
"PROTOCOL_TLS",
|
||
|
"ALPN_PROTOCOLS",
|
||
|
"Retry",
|
||
|
"Timeout",
|
||
|
"Url",
|
||
|
"assert_fingerprint",
|
||
|
"current_time",
|
||
|
"is_connection_dropped",
|
||
|
"is_fp_closed",
|
||
|
"get_host",
|
||
|
"parse_url",
|
||
|
"make_headers",
|
||
|
"resolve_cert_reqs",
|
||
|
"resolve_ssl_version",
|
||
|
"split_first",
|
||
|
"ssl_wrap_socket",
|
||
|
"wait_for_read",
|
||
|
"wait_for_write",
|
||
|
"SKIP_HEADER",
|
||
|
"SKIPPABLE_HEADERS",
|
||
|
)
|