
    q"hE                     0    S SK JrJrJr   SS jr SS jrg)   )create_urllib3_contextresolve_cert_reqsresolve_ssl_versionNc                 l    U c  gUS:X  a  gU R                   S:X  a  U(       a  UR                  (       a  gg)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)
FhttphttpsT)schemeuse_forwarding_for_https)	proxy_urlproxy_configdestination_schemes      P/var/www/html/env/lib/python3.13/site-packages/pip/_vendor/urllib3/util/proxy.pyconnection_requires_http_tunnelr      s>      V# 	G#11     c                     [        [        U 5      [        U5      S9nU(       d/  U(       d(  U(       d!  [        US5      (       a  UR	                  5         U$ )zP
Generates a default proxy ssl context if one hasn't been provided by the
user.
)ssl_version	cert_reqsload_default_certs)r   r   r   hasattrr   )r   r   ca_certsca_cert_dirca_cert_datassl_contexts         r   create_proxy_ssl_contextr   %   sI     )'4#I.K K!566&&(r   )NNN)ssl_r   r   r   r   r    r   r   <module>r      s"    P P ;?D KOr   