§
    â÷ëg|  ã                  óP   — d dl mZ d dlZddlmZ ej        rddlmZ 	 	 	 ddd„ZdS )é    )ÚannotationsNé   )ÚUrlé   )ÚProxyConfigÚ	proxy_urlú
Url | NoneÚproxy_configúProxyConfig | NoneÚdestination_schemeú
str | NoneÚreturnÚboolc                óJ   — | €dS |dk    rdS | j         dk    r|r	|j        rdS dS )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)r   r
   r   s      úN/var/www/html/4nations/venv/lib/python3.11/site-packages/urllib3/util/proxy.pyÚconnection_requires_http_tunnelr      sR   € ð  ÐØˆuð ˜VÒ#Ð#Øˆuð 	Ô˜GÒ#Ð#Øð 	$àÔ1ð 	$ð ˆuð ˆ4ó    )NNN)r   r	   r
   r   r   r   r   r   )	Ú
__future__r   ÚtypingÚurlr   ÚTYPE_CHECKINGÚ
connectionr   r   © r   r   ú<module>r      s}   ðØ "Ð "Ð "Ð "Ð "Ð "à €€€à Ð Ð Ð Ð Ð à	Ôð )Ø(Ð(Ð(Ð(Ð(Ð(ð !Ø'+Ø%)ð ð  ð  ð  ð  ð  ð  r   