o
    E¨e|  ã                   @  sH   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d„ZdS )é    )ÚannotationsNé   )ÚUrlé   )ÚProxyConfigÚ	proxy_urlú
Url | NoneÚproxy_configúProxyConfig | NoneÚdestination_schemeú
str | NoneÚreturnÚboolc                 C  s4   | du r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   © r   úS/var/www/bmteknikk.ddns.net/venv/lib/python3.10/site-packages/urllib3/util/proxy.pyÚconnection_requires_http_tunnel   s   
ÿþr   )NNN)r   r   r	   r
   r   r   r   r   )	Ú
__future__r   ÚtypingÚurlr   ÚTYPE_CHECKINGÚ
connectionr   r   r   r   r   r   Ú<module>   s    ý