관리-도구
편집 파일: adapters.cpython-311.pyc
� �Dg�k � � � d Z ddlZddlZddlZddlZddlmZmZ ddlm Z ddlmZ ddlm Z mZmZmZ ddlmZ ddlmZmZ dd lmZ dd lmZmZ ddlmZ ddlmZ dd lmZ ddl m!Z! ddl"m#Z# ddl$m%Z%m&Z& ddl'm(Z( ddl)m*Z*m+Z+mZm,Z,m-Z-m.Z.mZm/Z/m0Z0mZ ddl1m2Z2 ddl3m4Z4 ddl5m6Z6m7Z7m8Z8m9Z9m:Z:m;Z;m<Z< ddl=m>Z> n# e?$ r d� Z>Y nw xY wej@ rddl1mAZA dZBdZCdZDdZE ddlFZF e!� � ZGeG�H e7e6� � � � n # e?$ r dZGY nw xY w d+d&�ZI G d'� d(� � ZJ G d)� d*eJ� � ZKdS ),z� requests.adapters ~~~~~~~~~~~~~~~~~ This module contains the transport adapters that Requests uses to define and maintain connections. � N)�ClosedPoolError�ConnectTimeoutError)� HTTPError)� InvalidHeader)�LocationValueError� MaxRetryError�NewConnectionError� ProtocolError)� ProxyError)�ReadTimeoutError� ResponseError)�SSLError)�PoolManager�proxy_from_url)�Timeout)� parse_url)�Retry)�create_urllib3_context� )�_basic_auth_str)� basestring�urlparse)�extract_cookies_to_jar) �ConnectionError�ConnectTimeoutr �InvalidProxyURL� InvalidSchema� InvalidURLr �ReadTimeout� RetryErrorr )�Response)�CaseInsensitiveDict)�DEFAULT_CA_BUNDLE_PATH�extract_zipped_paths�get_auth_from_url�get_encoding_from_headers�prepend_scheme_if_needed�select_proxy� urldefragauth)�SOCKSProxyManagerc � � t d� � �)Nz'Missing dependencies for SOCKS support.)r )�args�kwargss �}/builddir/build/BUILD/imunify360-venv-2.4.0/opt/imunify360/venv/lib/python3.11/site-packages/pip/_vendor/requests/adapters.pyr* r* ? s � ��E�F�F�F� )�PreparedRequestF� �requestr0 �verify�bool | str | None�client_cert�#typing.Tuple[str, str] | str | None�poolmanagerr �return�<(typing.Dict[str, typing.Any], typing.Dict[str, typing.Any])c �< � i }i }t | j � � }|j � � � }|j }t |di � � } | � d� � } t d uo| }d}|du rd}nP|du r |rt |d<