Current File : //usr/lib/python3/dist-packages/pip/_vendor/urllib3/util/__pycache__/proxy.cpython-312.pyc |
�
/�gE � �, � d dl mZmZmZ dd�Z dd�Zy)� )�create_urllib3_context�resolve_cert_reqs�resolve_ssl_versionNc �R � | �y|dk( ry| j dk( r|r
|j ryy)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 �@/usr/lib/python3/dist-packages/pip/_vendor/urllib3/util/proxy.py�connection_requires_http_tunnelr s>