o |¿nh|ã@sHddlmZddlZddlmZejrddlmZ   dddd„ZdS)é)Ú annotationsNé)ÚUrlé)Ú ProxyConfigÚ proxy_urlú Url | NoneÚ proxy_configúProxyConfig | NoneÚdestination_schemeú str | NoneÚreturnÚboolcCs4|durdS|dkr dS|jdkr|r|jrdSdS)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)rr r ©rúJ/usr/local/bin/dhwp/env/lib/python3.10/site-packages/urllib3/util/proxy.pyÚconnection_requires_http_tunnel s ÿþr)NNN)rrr r r r r r) Ú __future__rÚtypingÚurlrÚ TYPE_CHECKINGÚ connectionrrrrrrÚs   ý