HEX
Server: Microsoft-IIS/10.0
System: Windows NT ITPWINWEBSVR22 10.0 build 20348 (Windows Server 2022) AMD64
User: www.conferencesearch.co.uk (0)
PHP: 8.3.30
Disabled: NONE
Upload Files
File: D:/Python311/Lib/site-packages/pip/_vendor/urllib3/util/__pycache__/proxy.cpython-311.pyc
�

�miE��.�ddlmZmZmZ	dd�Z	dd�ZdS)�)�create_urllib3_context�resolve_cert_reqs�resolve_ssl_versionNc�J�|�dS|dkrdS|jdkr|r	|jrdSdS)a?
    Returns True if the connection requires an HTTP CONNECT through the proxy.

    :param URL proxy_url:
        URL of the proxy.
    :param ProxyConfig proxy_config:
        Proxy configuration from poolmanager.py
    :param str destination_scheme:
        The scheme of the destination. (i.e https, http, etc)
    NF�http�httpsT)�scheme�use_forwarding_for_https)�	proxy_url�proxy_config�destination_schemes   �@D:\Python311\Lib\site-packages\pip/_vendor/urllib3/util/proxy.py�connection_requires_http_tunnelrsZ�����u��V�#���u�	��G�#����
�1��
�u��4�c��tt|��t|�����}|s(|s&|s$t|d��r|���|S)z\
    Generates a default proxy ssl context if one hasn't been provided by the
    user.
    )�ssl_version�	cert_reqs�load_default_certs)rrr�hasattrr)rr�ca_certs�ca_cert_dir�ca_cert_data�ssl_contexts      r�create_proxy_ssl_contextr%sy��)�'��4�4�#�I�.�.����K�
�)��)��)�
�K�!5�6�6�	)�	�&�&�(�(�(��r)NNN)�ssl_rrrrr�rr�<module>rsb��P�P�P�P�P�P�P�P�P�P�;?�����DKO������r