2016-01-11 19:19:07 +00:00
|
|
|
from __future__ import absolute_import
|
2015-02-13 01:26:44 +00:00
|
|
|
# For backwards compatibility, provide imports that used to be here.
|
|
|
|
from .connection import is_connection_dropped
|
|
|
|
from .request import make_headers
|
|
|
|
from .response import is_fp_closed
|
|
|
|
from .ssl_ import (
|
|
|
|
SSLContext,
|
|
|
|
HAS_SNI,
|
2016-05-21 09:55:10 +00:00
|
|
|
IS_PYOPENSSL,
|
2017-09-05 16:40:07 +00:00
|
|
|
IS_SECURETRANSPORT,
|
2015-02-13 01:26:44 +00:00
|
|
|
assert_fingerprint,
|
|
|
|
resolve_cert_reqs,
|
|
|
|
resolve_ssl_version,
|
|
|
|
ssl_wrap_socket,
|
|
|
|
)
|
|
|
|
from .timeout import (
|
|
|
|
current_time,
|
|
|
|
Timeout,
|
|
|
|
)
|
|
|
|
|
|
|
|
from .retry import Retry
|
|
|
|
from .url import (
|
|
|
|
get_host,
|
|
|
|
parse_url,
|
|
|
|
split_first,
|
|
|
|
Url,
|
|
|
|
)
|
2017-02-15 20:10:01 +00:00
|
|
|
from .wait import (
|
|
|
|
wait_for_read,
|
|
|
|
wait_for_write
|
|
|
|
)
|
2016-01-11 19:19:07 +00:00
|
|
|
|
|
|
|
__all__ = (
|
|
|
|
'HAS_SNI',
|
2016-05-21 09:55:10 +00:00
|
|
|
'IS_PYOPENSSL',
|
2017-09-05 16:40:07 +00:00
|
|
|
'IS_SECURETRANSPORT',
|
2016-01-11 19:19:07 +00:00
|
|
|
'SSLContext',
|
|
|
|
'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',
|
2017-02-15 20:10:01 +00:00
|
|
|
'wait_for_read',
|
|
|
|
'wait_for_write'
|
2016-01-11 19:19:07 +00:00
|
|
|
)
|