관리-도구
편집 파일: proxy.cpython-311.pyc
� �܋f| � �P � d dl mZ d dlZddlmZ ej rddlmZ ddd�ZdS )� )�annotationsN� )�Url� )�ProxyConfig� proxy_url� Url | None�proxy_config�ProxyConfig | None�destination_scheme� str | None�return�boolc �J � | �dS |dk rdS | j dk r|r |j rdS dS )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)r r r s �I/opt/cloudlinux/venv/lib64/python3.11/site-packages/urllib3/util/proxy.py�connection_requires_http_tunnelr sR � � ���u� �V�#�#��u� ��G�#�#�� $��1� $� �u� �4� )NNN)r r r r r r r r ) � __future__r �typing�urlr � TYPE_CHECKING� connectionr r � r r �<module>r s} �� "� "� "� "� "� "� � � � � � � � � � � �� )�(�(�(�(�(�(� !�'+�%)� � � � � � � r