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",
)
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| __pycache__ | Folder | 0755 |
|
|
| __init__.py | File | 1.13 KB | 0644 |
|
| connection.py | File | 4.79 KB | 0644 |
|
| proxy.py | File | 1.57 KB | 0644 |
|
| queue.py | File | 498 B | 0644 |
|
| request.py | File | 4.03 KB | 0644 |
|
| response.py | File | 3.43 KB | 0644 |
|
| retry.py | File | 20.89 KB | 0644 |
|
| ssl_.py | File | 16.76 KB | 0644 |
|
| ssltransport.py | File | 6.75 KB | 0644 |
|
| timeout.py | File | 9.77 KB | 0644 |
|
| url.py | File | 13.7 KB | 0644 |
|
| wait.py | File | 5.28 KB | 0644 |
|