📁 File Manager Pro
v10.0.3 | PHP: 8.2.31
Server: LiteSpeed
2026-06-28 14:29:44
📂
/ (Root)
/
opt
/
alt
/
python310
/
lib
/
python3.10
/
site-packages
/
pip
/
_vendor
/
urllib3
/
util
/
__pycache__
📍 /opt/alt/python310/lib/python3.10/site-packages/pip/_vendor/urllib3/util/__pycache__
🔄 Refresh
✏️
Editing: proxy.cpython-310.pyc
Read Only
o aiE � @ s0 d dl mZmZmZ ddd�Z ddd�ZdS )� )�create_urllib3_context�resolve_cert_reqs�resolve_ssl_versionNc 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)� proxy_url�proxy_config�destination_scheme� r ��/builddir/build/BUILDROOT/alt-python310-pip-21.3.1-5.el8.x86_64/opt/alt/python310/lib/python3.10/site-packages/pip/_vendor/urllib3/util/proxy.py�connection_requires_http_tunnel s ��r c C s6 t t| �t|�d�}|s|s|st|d�r|�� |S )z\ Generates a default proxy ssl context if one hasn't been provided by the user. )�ssl_version� cert_reqs�load_default_certs)r r r �hasattrr )r r �ca_certs�ca_cert_dir�ca_cert_data�ssl_contextr r r �create_proxy_ssl_context% s �����r )NNN)�ssl_r r r r r r r r r �<module> s �"�
💾 Save Changes
❌ Cancel