
    ,h|                    f    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y)
    )annotationsN   )Url   )ProxyConfigc                R    | y|dk(  ry| j                   dk(  r|r|j                  ryy)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      T/var/www/html/Resume-Scraper/venv/lib/python3.12/site-packages/urllib3/util/proxy.pyconnection_requires_http_tunnelr      s>       V# 	G#11     )NNN)r   z
Url | Noner   zProxyConfig | Noner   z
str | Nonereturnbool)	
__future__r   typingurlr   TYPE_CHECKING
connectionr   r    r   r   <module>r      sN    "  	( !'+%)  $  #  
	 r   