mfD.ddlmZmZmZ ddZ ddZdS))create_urllib3_contextresolve_cert_reqsresolve_ssl_versionNcJ|dS|dkrdS|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) NFhttphttpsT)schemeuse_forwarding_for_https) proxy_url proxy_configdestination_schemes I/opt/imunify360/venv/lib64/python3.11/site-packages/urllib3/util/proxy.pyconnection_requires_http_tunnelrsRuV##u G##  $  1 $u 4ctt|t|}|s(|s&|s$t|dr||S)z\ Generates a default proxy ssl context if one hasn't been provided by the user. ) ssl_version cert_reqsload_default_certs)rrrhasattrr)rrca_certs ca_cert_dir ca_cert_data ssl_contexts rcreate_proxy_ssl_contextr%sy)' 44#I..K ))) K!5 6 6 ) &&((( r)NNN)ssl_rrrrrrrrsbPPPPPPPPPP;?DKOr