HEX
Server: Apache
System: Linux zacp120.webway.host 4.18.0-553.50.1.lve.el8.x86_64 #1 SMP Thu Apr 17 19:10:24 UTC 2025 x86_64
User: govancoz (1003)
PHP: 8.3.26
Disabled: exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Upload Files
File: //usr/local/lib/python3.7/site-packages/pip/_vendor/urllib3/util/__pycache__/proxy.cpython-37.pyc
B

L��gE�@s,ddlmZmZmZddd�Zddd�ZdS)	�)�create_urllib3_context�resolve_cert_reqs�resolve_ssl_versionNcCs4|dkrdS|dkrdS|jdkr0|r0|jr0dSdS)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)�schemeZuse_forwarding_for_https)�	proxy_urlZproxy_configZdestination_scheme�r	�B/tmp/pip-unpacked-wheel-hv55ucu3/pip/_vendor/urllib3/util/proxy.py�connection_requires_http_tunnels
rcCs6tt|�t|�d�}|s2|s2|s2t|d�r2|��|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)rr
�ca_certs�ca_cert_dirZca_cert_data�ssl_contextr	r	r
�create_proxy_ssl_context%s
r)NNN)NNN)�ssl_rrrrrr	r	r	r
�<module>s
!