| Server IP : 188.151.22.197 / Your IP : 216.73.217.74 Web Server : Apache/2.4.62 (Rocky Linux) OpenSSL/3.5.5 System : Linux wsten.se 5.14.0-687.30.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Mon Jul 27 13:09:21 UTC 2026 x86_64 User : apache ( 48) PHP Version : 8.1.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/lib/python3.9/site-packages/urllib3/util/__pycache__/ |
Upload File : |
a
t~�`D � @ s, d dl mZmZmZ ddd�Zddd�ZdS ) � )�create_urllib3_context�resolve_cert_reqs�resolve_ssl_versionNc C s4 | du rdS |dkrdS | j dkr0|r0|jr0dS 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)�schemeZuse_forwarding_for_https)Z proxy_urlZproxy_configZdestination_scheme� r �6/usr/lib/python3.9/site-packages/urllib3/util/proxy.py�connection_requires_http_tunnel s ���r
c C s6 t t| �t|�d�}|s2|s2|s2t|d�r2|�� |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 Zca_certsZca_cert_dirZca_cert_dataZssl_contextr r r �create_proxy_ssl_context% s �����r )NNN)NNN)Zssl_r r r r
r r r r r �<module> s �
"