shell bypass 403
�
=f| � �f � d dl mZ d dlZddlmZ ej
rddlmZ d d d�Zy)
� )�annotationsN� )�Url� )�ProxyConfigc �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 �I/usr/local/python-3.12/lib/python3.12/site-packages/urllib3/util/proxy.py�connection_requires_http_tunnelr s>