%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /lib/python3/dist-packages/requests/__pycache__/
Upload File :
Create Path :
Current File : //lib/python3/dist-packages/requests/__pycache__/__init__.cpython-312.pyc

�

�D�d���"�dZddlZddlZddlmZdZ	ddlmZd�Z
d�Z	e
ejee�		ddlZeed	d
�s%ddlmZej(�ddlmZee�ddlmZej2d
e�ddlZddlmZddlmZmZddlmZm 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.m/Z/m0Z0ddlm1Z1m2Z2m3Z3m4Z4m5Z5m6Z6m7Z7m8Z8m9Z9m:Z:ddl;m<Z<m=Z=m>Z>ddl?m@Z@mAZAddlBmCZCej�eE�j�e��ej2de3d��y#e	$rdZY��wxYw#ee
f$r2ejdjejee�e�Y��>wxYw#e	$rdZY��FwxYw#e	$rY��#wxYw)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__c�:�|jd�}|dgk7sJ�t|�dk(r|jd�|\}}}t|�t|�t|�}}}|dk\sJ�|dk(r|dk\sJ�|rN|jd�dd\}}}t|�t|�t|�}}}d|||fcxkrd	ksJ�J�y|rM|jd�dd\}}}t|�t|�t|�}}}d
|||fcxkrdksJ�J�yt	d��)
N�.�dev��0r��)rrr	)�rr)r	rr)�rrz7You need either charset_normalizer or chardet installed)�split�len�append�int�	Exception)�urllib3_version�chardet_version�charset_normalizer_version�major�minor�patchs      �3/usr/lib/python3/dist-packages/requests/__init__.py�check_compatibilityr7sI��%�+�+�C�0�O��u�g�%�%�%��?��q� ����s�#�*��E�5�%��e�*�c�%�j�#�e�*�%�5�E��A�:��:���z���{��{��3�o�3�3�C�8��!�<���u�e�!�%�j�#�e�*�c�%�j�e�u���U�E�5�1�=�I�=�=�=�=�=�	#�8�>�>�s�C�B�Q�G���u�e�!�%�j�#�e�*�c�%�j�e�u���U�E�5�1�=�I�=�=�=�=�=��Q�R�R�c���	ttt|jd���}|gd�kr,dj|�}t
j|t�yy#t$rYywxYw)Nr)rrrz4Old version of cryptography ({}) may cause slowdown.)	�list�maprr�
ValueError�format�warnings�warnr)�cryptography_version�warnings  r�_check_cryptographyr&Vso���#�C��-G�-A�-G�-G��-L�$M�N���i�'�H�O�O� �
��	�
�
�g�8�9�	(������s�)A�	A+�*A+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)G�__doc__r"�urllib3�
exceptionsrr�chardetrr�ImportErrorrr&�AssertionErrorr r#r!�ssl�getattr�urllib3.contribr(�inject_into_urllib3�cryptographyr$�urllib3.exceptionsr)�simplefilter�loggingr+�r,r-r.r/r0r1r2r3r4r5r6�apir7r8r9r:rr;r<r=r>r?r@rArBrCrDrErFrG�modelsrHrIrJ�sessionsrKrL�status_codesrM�	getLogger�__name__�
addHandler�rr�<module>rfs���!�F��1�!���6�
S�>:������_�.H��	����3�	�5�)�-�%�	�%�%�'�	E��0�1�
1�����h� 1�2�������G�F�F����7�6�&������(��&�&�{�}�5�����i���>��}���O���l	�
�#���H�M�M�	��6�����2L�
�	"�����������	��	�sP�D-�D;�E7�/F�-D8�7D8�;5E4�3E4�7F�>F�F�F�F�
F

Zerion Mini Shell 1.0