<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/css/bootstrap.min.css" rel="stylesheet"
        integrity="sha384-GLhlTQ8iRABdZLl6O3oVMWSktQOp6b7In1Zl3/Jr59b6EGGoI1aFkw7cmDA6j6gD" crossorigin="anonymous">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.3.0/css/all.min.css"
        integrity="sha512-SzlrxWUlpfuzQ+pcUCosxcglQRNAq/DZjVsC0lE40xsADsfeQoEypE+enwcOiGjk/bSuGGKHEyjSoQ1zVisanQ=="
        crossorigin="anonymous" referrerpolicy="no-referrer" />
</head>
</html>
U
    `D                     @   s,   d dl mZmZmZ dddZdddZdS )	   )create_urllib3_contextresolve_cert_reqsresolve_ssl_versionNc                 C   s4   | dkrdS |dkrdS | j dkr0|r0|jr0dS dS )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)schemeZuse_forwarding_for_https)Z	proxy_urlZproxy_configZdestination_scheme r   C/opt/alt/python38/lib/python3.8/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   Zca_certsZca_cert_dirZca_cert_dataZssl_contextr   r   r	   create_proxy_ssl_context%   s    r   )NNN)NNN)Zssl_r   r   r   r
   r   r   r   r   r	   <module>   s        
"     