HEX
Server: Apache
System: Linux scp1.abinfocom.com 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User: confeduphaar (1010)
PHP: 8.1.33
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //usr/lib/python3/dist-packages/requests/__pycache__/__init__.cpython-38.pyc
U

5r�\Q�	@s�dZddlZddlZddlZddlmZdd�Zdd�Zzeejej�Wn0e	e
fk
rze�d	�ejej�e�YnXz,dd
l
mZe��ddlmZee�Wnek
r�YnXddlmZe�d
e�ddlmZmZmZmZddlmZmZmZmZddlmZmZddlm Z ddlm!Z!ddl"m#Z#m$Z$m%Z%ddl&m'Z'm(Z(m)Z)m*Z*m+Z+m,Z,m-Z-m.Z.ddl/m0Z0m1Z1ddl2m3Z3ddlm4Z4m5Z5m6Z6m7Z7m8Z8m9Z9m:Z:m;Z;m<Z<ddl=Z=ddl=m>Z>e=�?e@��Ae>��ejde:dd�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
   >>> '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": {
       "key2": "value2",
       "key1": "value1"
     },
     ...
   }

The other HTTP methods are supported - see `requests.api`. Full documentation
is at <http://python-requests.org>.

:copyright: (c) 2017 by Kenneth Reitz.
:license: Apache 2.0, see LICENSE for more details.
�N�)�RequestsDependencyWarningcCs�|�d�}|dgkst�t|�dkr.|�d�|\}}}t|�t|�t|�}}}|dks`t�|dkslt�|dksxt�|�d�dd�\}}}t|�t|�t|�}}}|dks�t�|dks�t�|dks�t�dS)	N�.Zdev��0r���)�split�AssertionError�len�append�int)Zurllib3_versionZchardet_version�major�minor�patch�r�3/usr/lib/python3/dist-packages/requests/__init__.py�check_compatibility1s


rcCsXzttt|�d���}Wntk
r.YdSX|dddgkrTd�|�}t�|t�dS)Nrrr	�z4Old version of cryptography ({}) may cause slowdown.)	�list�maprr
�
ValueError�format�warnings�warnr)�cryptography_versionZwarningrrr�_check_cryptographyJs
rz?urllib3 ({}) or chardet ({}) doesn't match a supported version!)�	pyopenssl)�__version__)�DependencyWarning�ignore)�	__title__�__description__�__url__r)�	__build__�
__author__�__author_email__�__license__)�
__copyright__�__cake__)�utils)�packages)�Request�Response�PreparedRequest)�request�get�head�postr�put�delete�options)�session�Session)�codes)	�RequestException�Timeout�URLRequired�TooManyRedirects�	HTTPError�ConnectionError�FileModeWarning�ConnectTimeout�ReadTimeout)�NullHandler�defaultT)r
)B�__doc__Zurllib3Zchardetr�
exceptionsrrrrrrrrZurllib3.contribrZinject_into_urllib3Zcryptographyr�ImportErrorZurllib3.exceptionsr �simplefilterr"r#r$r%r&r'r(r)r*�r+r,Zmodelsr-r.r/Zapir0r1r2r3rr4r5r6Zsessionsr7r8Zstatus_codesr9r:r;r<r=r>r?r@rArBZloggingrCZ	getLogger�__name__Z
addHandlerrrrr�<module>sL#��
(,