HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux spn-python 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64
User: arjun (1000)
PHP: 8.1.2-1ubuntu2.20
Disabled: NONE
Upload Files
File: //usr/local/lib/python3.10/dist-packages/requests/__pycache__/__init__.cpython-310.pyc
o

;��g��
@sLdZddlZddlZddlmZzddlmZWney#dZYnwzddl	mZ
Wney7dZ
Ynwdd�Zdd	�Zz	eeje
e�Wne
efy`e�d
�eje
e�e�Ynwz.zddlZWneysdZYnweedd�s�dd
lmZe��ddlmZee�Wn	ey�YnwddlmZe�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�}|dgksJ�t|�dkr|�d�|\}}}t|�t|�t|�}}}|dks0J�|dkr:|dks:J�|ri|�d�dd�\}}}t|�t|�t|�}}}d|||fkrdd	ksgJ�J�dS|r�|�d�dd�\}}}t|�t|�t|�}}}d
|||fkr�dks�J�J�dSt�dt�dS)
N�.�dev��0r��)r
rr)�rr)rrr)�rrzYUnable to find acceptable character detection dependency (chardet or charset_normalizer).)�split�len�append�int�warnings�warnr)�urllib3_version�chardet_version�charset_normalizer_version�major�minor�patch�r�</usr/local/lib/python3.10/dist-packages/requests/__init__.py�check_compatibility:s*


&&�rcCsXzttt|�d���}Wn
tyYdSw|gd�kr*d�|�}t�|t�dSdS)Nr)rr
rz4Old version of cryptography ({}) may cause slowdown.)	�list�maprr
�
ValueError�formatrrr)�cryptography_version�warningrrr�_check_cryptography]s���r"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�
exceptionsr�charset_normalizerrr�ImportError�chardetrrr"�AssertionErrorrrr�ssl�getattr�urllib3.contribr$�inject_into_urllib3�cryptographyr �urllib3.exceptionsr%�simplefilter�loggingr'�r(r)r*r+r,r-r.r/r0r1r2�apir3r4r5r6rr7r8r9r:r;r<r=r>r?r@rArBrC�modelsrDrErF�sessionsrGrH�status_codesrI�	getLogger�__name__�
addHandlerrrrr�<module>sr#��#�������0(0