관리-도구
편집 파일: adapters.cpython-36.pyc
3 �PfR � @ s� d Z ddlZddlZddlmZmZ ddlmZ ddl m Z ddlm Z ddlmZ ddlmZ dd lmZ dd lmZ ddlmZ ddlmZ dd lmZ ddlmZ ddlmZ ddlmZ ddlmZ ddlmZm Z ddl!m"Z"m#Z#m$Z$m%Z%m&Z&m'Z' ddl(m)Z) ddl*m+Z+ ddl,m-Z-m.Z.m/Z/mZmZm0Z0m1Z1 ddl2m3Z3 yddl4m5Z5 W n e6k �rr dd� Z5Y nX dZ7dZ8dZ9dZ:G dd� de;�Z<G d d!� d!e<�Z=dS )"z� requests.adapters ~~~~~~~~~~~~~~~~~ This module contains the transport adapters that Requests uses to define and maintain connections. � N)�PoolManager�proxy_from_url)�HTTPResponse)�Timeout)�Retry)�ClosedPoolError)�ConnectTimeoutError)� HTTPError)� MaxRetryError)�NewConnectionError)� ProxyError)� ProtocolError)�ReadTimeoutError)�SSLError)� ResponseError� )�Response)�urlparse� basestring)�DEFAULT_CA_BUNDLE_PATH�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)�_basic_auth_str)�SOCKSProxyManagerc O s t d��d S )Nz'Missing dependencies for SOCKS support.)r! )�args�kwargs� r&