HEX
Server: LiteSpeed
System: Linux kapuas.iixcp.rumahweb.net 5.14.0-427.42.1.el9_4.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Nov 1 14:58:02 EDT 2024 x86_64
User: mirz4654 (1666)
PHP: 8.1.33
Disabled: system,exec,escapeshellarg,escapeshellcmd,passthru,proc_close,proc_get_status,proc_nice,proc_open,proc_terminate,shell_exec,popen,pclose,dl,pfsockopen,leak,apache_child_terminate,posix_kill,posix_mkfifo,posix_setsid,posix_setuid,posix_setpgid,ini_alter,show_source,define_syslog_variables,symlink,syslog,openlog,openlog,closelog,ocinumcols,listen,chgrp,apache_note,apache_setenv,debugger_on,debugger_off,ftp_exec,dll,ftp,myshellexec,socket_bind,mail,posix_getwpuid
Upload Files
File: //opt/alt/python37/lib/python3.7/site-packages/urllib3/util/__pycache__/proxy.cpython-37.pyc
B

�t�w��@s,ddlmZmZmZddd�Zddd�ZdS)	�)�create_urllib3_context�resolve_cert_reqs�resolve_ssl_versionNcCs4|dkrdS|dkrdS|jdkr0|r0|jr0dSdS)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_urlZproxy_configZdestination_scheme�r�C/opt/alt/python37/lib/python3.7/site-packages/urllib3/util/proxy.py�connection_requires_http_tunnels
r
cCs6tt|�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)rrr�hasattrr
)rrZca_certsZca_cert_dirZca_cert_dataZssl_contextrrr	�create_proxy_ssl_context%s
r)NNN)NNN)Zssl_rrrr
rrrrr	�<module>s
!