a †oeEã@s,ddlmZmZmZddd„Zddd„ZdS) é)Úcreate_urllib3_contextÚresolve_cert_reqsÚresolve_ssl_versionNcCs4|dur dS|dkrdS|jdkr0|r0|jr0dSdS)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)ÚschemeZuse_forwarding_for_https)Z proxy_urlZ proxy_configZdestination_scheme©rú3C:\Program Files\Certbot\pkgs\urllib3\util\proxy.pyÚconnection_requires_http_tunnelsÿþýr cCs6tt|ƒt|ƒd�}|s2|s2|s2t|dƒr2| ¡|S)z\ Generates a default proxy ssl context if one hasn't been provided by the user. )Ú ssl_versionÚ cert_reqsÚload_default_certs)rrrÚhasattrr )r r Zca_certsZ ca_cert_dirZ ca_cert_dataZ ssl_contextrrr Úcreate_proxy_ssl_context%sþÿþýür)NNN)NNN)Zssl_rrrr rrrrr Úsÿ "ÿ