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/requests/__pycache__/__init__.cpython-37.pyc
B

���gc�
@sZdZddlZddlZddlmZyddlmZWnek
rHdZYnXyddl	mZ
Wnek
rrdZ
YnXdd�Zdd	�Zyeeje
e�Wn0e
efk
r�e�d
�eje
e�e�YnXy`yddlZWnek
r�dZYnXeedd��s&dd
lmZe��ddlmZee�Wnek
�r>YnXddlmZe�de�ddlZddlmZddlmZmZddlm Z m!Z!m"Z"m#Z#m$Z$m%Z%m&Z&m'Z'm(Z(mZddl)m*Z*m+Z+m,Z,m-Z-m.Z.m/Z/m0Z0m1Z1ddlm2Z2m3Z3m4Z4m5Z5m6Z6m7Z7m8Z8m9Z9m:Z:m;Z;ddl<m=Z=m>Z>m?Z?ddl@mAZAmBZBddlCmDZDe�EeF��Ge��ejde4dd�dS)a�
Requests HTTP Library
~~~~~~~~~~~~~~~~~~~~~

Requests is an HTTP library, written in Python, for human beings.
Basic GET usage:

   >>> import requests
   >>> r = requests.get('https://www.python.org')
   >>> r.status_code
   200
   >>> b'Python is a programming language' in r.content
   True

... or POST:

   >>> payload = dict(key1='value1', key2='value2')
   >>> r = requests.post('https://httpbin.org/post', data=payload)
   >>> print(r.text)
   {
     ...
     "form": {
       "key1": "value1",
       "key2": "value2"
     },
     ...
   }

The other HTTP methods are supported - see `requests.api`. Full documentation
is at <https://requests.readthedocs.io>.

:copyright: (c) 2017 by Kenneth Reitz.
:license: Apache 2.0, see LICENSE for more details.
�N�)�RequestsDependencyWarning)�__version__cCs:|�d�}|dgkst�t|�dkr.|�d�|\}}}t|�t|�t|�}}}|dks`t�|dkrt|dkstt�|r�|�d�dd�\}}}t|�t|�t|�}}}d|||fkr�d	ks�nt�nh|�r.|�d�dd�\}}}t|�t|�t|�}}}d
|||fk�r&dk�s6nt�ntd��dS)
N�.�dev��0r��)r
rr)�rr)rrr)�rrz7You need either charset_normalizer or chardet installed)�split�AssertionError�len�append�int�	Exception)�urllib3_version�chardet_version�charset_normalizer_version�major�minor�patch�r�;/usr/local/lib/python3.7/site-packages/requests/__init__.py�check_compatibility:s$


"&rcCsVyttt|�d���}Wntk
r,dSX|dddgkrRd�|�}t�|t�dS)Nrrr
rz4Old version of cryptography ({}) may cause slowdown.)	�list�maprr
�
ValueError�format�warnings�warnr)�cryptography_version�warningrrr�_check_cryptographyYsr$zWurllib3 ({}) or chardet ({})/charset_normalizer ({}) doesn't match a supported version!�HAS_SNIF)�	pyopenssl)�DependencyWarning�ignore)�NullHandler)�packages�utils)
�
__author__�__author_email__�	__build__�__cake__�
__copyright__�__description__�__license__�	__title__�__url__r)�delete�get�head�optionsr�post�put�request)
�ConnectionError�ConnectTimeout�FileModeWarning�	HTTPError�JSONDecodeError�ReadTimeout�RequestException�Timeout�TooManyRedirects�URLRequired)�PreparedRequest�Request�Response)�Session�session)�codes�defaultT)r)H�__doc__r �urllib3�
exceptionsrZcharset_normalizerrr�ImportError�chardetrrr$rrr!r�ssl�getattrZurllib3.contribr&Zinject_into_urllib3Zcryptographyr"Zurllib3.exceptionsr'�simplefilter�loggingr)�r*r+r,r-r.r/r0r1r2r3r4�apir5r6r7r8rr9r:r;r<r=r>r?r@rArBrCrDrE�modelsrFrGrH�sessionsrIrJ�status_codesrK�	getLogger�__name__�
addHandlerrrrr�<module>'s\



0(0