3
V'ícT ã @ sÜ d Z ddlZddlZddlmZmZ ddlmZ ddl m
Z
ddl mZ ddl
mZ ddlmZ dd lmZ dd
lmZ ddlmZ ddlmZ dd
lmZ ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ ddl m!Z! ddl"m#Z#m$Z$ ddl%m&Z&m'Z'm(Z(m)Z)m*Z*m+Z+m,Z, ddl-m.Z. ddl/m0Z0 ddl1m2Z2m3Z3m4Z4mZmZm5Z5m6Z6m7Z7m8Z8mZ ddl9m:Z: yddl;m<Z< W n e=k
r¦ dd Z<Y nX dZ>d Z?dZ@dZAG d!d" d"eBZCG d#d$ d$eCZDdS )%z
requests.adapters
~~~~~~~~~~~~~~~~~
This module contains the transport adapters that Requests uses to define
and maintain connections.
é N)ÚPoolManagerÚproxy_from_url)ÚHTTPResponse)Ú parse_url)ÚTimeout)ÚRetry)ÚClosedPoolError)ÚConnectTimeoutError)Ú HTTPError)Ú
InvalidHeader)Ú
MaxRetryError)ÚNewConnectionError)Ú
ProxyError)Ú
ProtocolError)ÚReadTimeoutError)ÚSSLError)Ú
ResponseError)ÚLocationValueErroré )ÚResponse)ÚurlparseÚ
basestring)ÚDEFAULT_CA_BUNDLE_PATHÚextract_zipped_pathsÚget_encoding_from_headersÚprepend_scheme_if_neededÚget_auth_from_urlÚ
urldefragauthÚselect_proxy)ÚCaseInsensitiveDict)Úextract_cookies_to_jar)
ÚConnectionErrorÚConnectTimeoutÚReadTimeoutr r Ú
RetryErrorÚ
InvalidSchemaÚInvalidProxyURLÚ
InvalidURLr )Ú_basic_auth_str)ÚSOCKSProxyManagerc O s t dd S )Nz'Missing dependencies for SOCKS support.)r% )ÚargsÚkwargs© r, ú5/tmp/pip-build-gk9425m9/requests/requests/adapters.pyr) / s r) Fé