mirror of
https://github.com/kennethreitz/requests3.git
synced 2026-06-05 23:10:16 +00:00
b5704a63ca
Further, fix the Makefile to pull urllib3 from the release branch. git-describe works based on the most recent commit but all of the nearest commits in the graph for urllib3 are on the release branch (since the release branch is never merged back to master).
53 lines
994 B
Python
53 lines
994 B
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 make_headers
|
|
from .response import is_fp_closed
|
|
from .ssl_ import (
|
|
SSLContext,
|
|
HAS_SNI,
|
|
IS_PYOPENSSL,
|
|
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,
|
|
)
|
|
from .wait import (
|
|
wait_for_read,
|
|
wait_for_write
|
|
)
|
|
|
|
__all__ = (
|
|
'HAS_SNI',
|
|
'IS_PYOPENSSL',
|
|
'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',
|
|
'wait_for_read',
|
|
'wait_for_write'
|
|
)
|