HOME


Mini Shell 1.0
DIR: /usr/lib/python3/dist-packages/urllib3/util/__pycache__/
Upload File :
Current File : //usr/lib/python3/dist-packages/urllib3/util/__pycache__/proxy.cpython-312.pyc
�

�g|��f�ddlmZddlZddlmZej
rddlmZ			d							d	d�Zy)
�)�annotationsN�)�Url�)�ProxyConfigc�R�|�y|dk(ry|jdk(r|r
|jryy)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   �4/usr/lib/python3/dist-packages/urllib3/util/proxy.py�connection_requires_http_tunnelrs>�� ����V�#��	���G�#���1�1���)NNN)r
z
Url | NonerzProxyConfig | Nonerz
str | None�return�bool)	�
__future__r�typing�urlr�
TYPE_CHECKING�
connectionrr�rr�<module>rsN��"�
��	���(�!�'+�%)� �� �$� �#� �
�	 r