관리-도구
편집 파일: poolmanager.cpython-38.pyc
U &?�fN � @ s< d dl mZ d dlZd dlZd dlZddlmZmZ ddlm Z m Z mZ ddlm Z mZmZmZmZ ddlmZ ddlmZ dd lmZ dd lmZ ddlmZ ddlmZ d ddgZe�e �Z!dZ"dZ#e�$de#�Z%dZ&e�$de&�Z'dd� Z(e�)e(e%�e�)e(e%�d�Z*e e d�Z+G dd � d e�Z,G dd� de,�Z-dd� Z.dS )� )�absolute_importN� )�HTTPHeaderDict�RecentlyUsedContainer)�HTTPConnectionPool�HTTPSConnectionPool�port_by_scheme)�LocationValueError� MaxRetryError�ProxySchemeUnknown�ProxySchemeUnsupported�URLSchemeUnknown)�six)�urljoin)�RequestMethods)�connection_requires_http_tunnel)�Retry)� parse_url�PoolManager�ProxyManager�proxy_from_url) �key_file� cert_file� cert_reqs�ca_certs�ssl_version�ca_cert_dir�ssl_context�key_password�server_hostname)� key_scheme�key_host�key_port�key_timeout�key_retries� key_strict� key_block�key_source_address�key_key_file�key_key_password� key_cert_file� key_cert_reqs�key_ca_certs�key_ssl_version�key_ca_cert_dir�key_ssl_context�key_maxsize�key_headers� key__proxy�key__proxy_headers�key__proxy_config�key_socket_options�key__socks_options�key_assert_hostname�key_assert_fingerprint�key_server_hostname�PoolKey)r �use_forwarding_for_https�ProxyConfigc C s� |� � }|d �� |d<