File: //usr/local/CyberCP/lib/python3.10/site-packages/urllib3/util/__pycache__/proxy.cpython-310.pyc
o
�h| � @ sH d dl mZ d dlZddlmZ ejrddlmZ dddd�ZdS )� )�annotationsN� )�Url� )�ProxyConfig� proxy_url�
Url | None�proxy_config�ProxyConfig | None�destination_scheme�
str | None�return�boolc C s4 | du rdS |dkrdS | j dkr|r|jrdS 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 � r �E/usr/local/CyberCP/lib/python3.10/site-packages/urllib3/util/proxy.py�connection_requires_http_tunnel s
��r )NNN)r r r r
r r r
r ) �
__future__r �typing�urlr �
TYPE_CHECKING�
connectionr r r r r r �<module> s �