????

Your IP : 3.149.237.146


Current Path : /lib/python3.6/site-packages/requests/__pycache__/
Upload File :
Current File : //lib/python3.6/site-packages/requests/__pycache__/__init__.cpython-36.pyc

3

��{g�
@s�dZddlZddlZddlZddlmZdd�Zdd�Zyeejej�Wn0e	e
fk
rzejd	jejej�e�YnXdd
l
mZejde�ddlmZmZmZmZdd
lmZmZmZmZddlmZmZddlmZddlmZddlmZmZmZddl m!Z!m"Z"m#Z#m$Z$m%Z%m&Z&m'Z'm(Z(ddl)m*Z*m+Z+ddl,m-Z-ddlm.Z.m/Z/m0Z0m1Z1m2Z2m3Z3m4Z4m5Z5m6Z6ddl7Z7ddl7m8Z8e7j9e:�j;e8��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
   >>> '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�|jd�}|dgkst�t|�dkr.|jd�|\}}}t|�t|�t|�}}}|dks`t�|dkslt�|dksxt�|jd�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�/usr/lib/python3.6/__init__.py�check_compatibility1s


rcCsVyttt|jd���}Wntk
r,dSX|dddgkrRdj|�}tj|t�dS)Nrrr	�z4Old version of cryptography ({}) may cause slowdown.)	�list�maprr
�
ValueError�format�warnings�warnr)Zcryptography_versionZwarningrrr�_check_cryptographyJs
rz?urllib3 ({}) or chardet ({}) doesn't match a supported version!)�DependencyWarning�ignore)�	__title__�__description__�__url__�__version__)�	__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
)<�__doc__Zurllib3Zchardetr�
exceptionsrrrr"rrrrZurllib3.exceptionsr�simplefilterrr r!r#r$r%r&r'r(�r)r*Zmodelsr+r,r-Zapir.r/r0r1rr2r3r4Zsessionsr5r6Zstatus_codesr7r8r9r:r;r<r=r>r?r@ZloggingrAZ	getLogger�__name__Z
addHandlerrrrr�<module>)s8
(,