HEX
Server: Apache
System: Linux zacp120.webway.host 4.18.0-553.50.1.lve.el8.x86_64 #1 SMP Thu Apr 17 19:10:24 UTC 2025 x86_64
User: govancoz (1003)
PHP: 8.3.26
Disabled: exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Upload Files
File: //usr/local/lib/python3.7/site-packages/urllib3/__pycache__/__init__.cpython-37.pyc
B

���g��@s$dZddlmZddlZddlZddlZddlmZddlmZddl	m
Z
ddlmZdd	l
mZdd
lmZmZmZddlmZmZddlmZmZmZdd
lmZmZddlmZddlm Z ddl!m"Z"yddl#Z#Wne$k
r�YnHXe#j%�&d��se�'de#j%�d�ej(�ne#j)dk�r8e$de#j%�d���yddl*Z*Wne+k
�rZYnXej'de,dd�dZ-dZ.eZdZ/e�0e1��2e��ej3fddd�dd �Z4[ej5d!ej6d"d#�ej5d$ej7d"d#�ej8fd%d&d'�d(d)�Z9e�Z:dddd"d"d"dd*dd+�	d,d,d-d.d/d0d0d0d1d2d3d4d5�d6d7�Z;dS)8ze
Python HTTP library with thread-safe connection pooling, file post support, user friendly, and more
�)�annotationsN)�NullHandler�)�
exceptions)�
_TYPE_BODY)�HTTPHeaderDict)�__version__)�HTTPConnectionPool�HTTPSConnectionPool�connection_from_url)�_TYPE_FIELDS�encode_multipart_formdata)�PoolManager�ProxyManager�proxy_from_url)�BaseHTTPResponse�HTTPResponse)�make_headers)�Retry)�TimeoutzOpenSSL zWurllib3 v2.0 only supports OpenSSL 1.1.1+, currently the 'ssl' module is compiled with z5. See: https://github.com/urllib3/urllib3/issues/3020)rrrz5. See: https://github.com/urllib3/urllib3/issues/2168z�'urllib3[secure]' extra is deprecated and will be removed in urllib3 v2.1.0. Read more in this issue: https://github.com/urllib3/urllib3/issues/2680�)�category�
stacklevelz(Andrey Petrov (andrey.petrov@shazow.net)�MIT)r	rr
rrrrr�add_stderr_loggerr�disable_warningsr
rr�requestr�intz$logging.StreamHandler[typing.TextIO])�level�returncCsFt�t�}t��}|�t�d��|�|�|�|�|�dt�|S)z�
    Helper for quickly adding a StreamHandler to the logger. Useful for
    debugging.

    Returns the handler after adding it.
    z%%(asctime)s %(levelname)s %(message)sz,Added a stderr logging handler to logger: %s)	�logging�	getLogger�__name__�
StreamHandler�setFormatter�	Formatter�
addHandler�setLevel�debug)r�logger�handler�r+�:/usr/local/lib/python3.7/site-packages/urllib3/__init__.pyrZs


r�alwaysT)�append�defaultz
type[Warning]�None)rrcCst�d|�dS)z<
    Helper for quickly disabling all urllib3 warnings.
    �ignoreN)�warnings�simplefilter)rr+r+r,r{sr�)	�body�fields�headers�preload_content�decode_content�redirect�retries�timeout�json�strz_TYPE_BODY | Nonez_TYPE_FIELDS | Noneztyping.Mapping[str, str] | Nonezbool | NonezRetry | bool | int | NonezTimeout | float | int | Noneztyping.Any | Noner)�method�urlr5r6r7r8r9r:r;r<r=rc	
Cs tj||||||||||	|
d�S)aX
    A convenience, top-level request method. It uses a module-global ``PoolManager`` instance.
    Therefore, its side effects could be shared across dependencies relying on it.
    To avoid side effects create a new ``PoolManager`` instance and use it instead.
    The method does not accept low-level ``**urlopen_kw`` keyword arguments.
    )	r5r6r7r8r9r:r;r<r=)�
_DEFAULT_POOLr)r?r@r5r6r7r8r9r:r;r<r=r+r+r,r�sr)<�__doc__�
__future__rr �typingr2r�rZ_base_connectionr�_collectionsr�_versionr�connectionpoolr	r
r�filepostrr
�poolmanagerrrr�responserrZutil.requestrZ
util.retryrZutil.timeoutr�ssl�ImportError�OPENSSL_VERSION�
startswith�warnZNotOpenSSLWarning�OPENSSL_VERSION_INFOZurllib3_secure_extra�ModuleNotFoundError�DeprecationWarning�
__author__�__license__�__all__r!r"r&�DEBUGrr3�SecurityWarning�InsecurePlatformWarning�HTTPWarningrrArr+r+r+r,�<module>sn