Your IP : 216.73.216.196


Current Path : /opt/alt/python35/lib/python3.5/site-packages/requests/__pycache__/
Upload File :
Current File : //opt/alt/python35/lib/python3.5/site-packages/requests/__pycache__/__init__.cpython-35.pyc



m"[��@s�dZddlZddlZddlZddlmZdd�Zdd�Zyeejej�Wn:e	e
fk
r�ejd	jejej�e�YnXy8dd
l
mZej�ddlmZee�Wnek
r�YnXddlmZejd
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=yddl=m>Z>Wn+ek
r�Gdd�de=j?�Z>YnXe=j@eA�jBe>��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('http://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�)�RequestsDependencyWarningcCs0|jd�}|dgks$t�t|�dkrC|jd�|\}}}t|�t|�t|�}}}|dks�t�|dks�t�|dks�t�|jd�dd�\}}}t|�t|�t|�}}}|dkst�|dkst�|dks,t�dS)	N�.�dev��0r���)�split�AssertionError�len�append�int)Zurllib3_versionZchardet_version�major�minor�patch�r�B/opt/alt/python35/lib/python3.5/site-packages/requests/__init__.py�check_compatibility1s
&"&rcCssy"ttt|jd���}Wntk
r:dSYnX|dddgkrodj|�}tj|t�dS)Nrrr
�z5Old version of cryptography ({0}) may cause slowdown.)	�list�maprr�
ValueError�format�warnings�warnr)�cryptography_version�warningrrr�_check_cryptographyJs"
	rzAurllib3 ({0}) or chardet ({1}) 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)�NullHandlerc@seZdZdd�ZdS)rEcCsdS)Nr)�self�recordrrr�emit�szNullHandler.emitN)�__name__�
__module__�__qualname__rHrrrrrE�srE�defaultrT)C�__doc__Zurllib3Zchardetr�
exceptionsrrrr!rrrrZurllib3.contribr Zinject_into_urllib3Zcryptographyr�ImportErrorZurllib3.exceptionsr"�simplefilterr$r%r&r'r(r)r*r+r,�r-r.Zmodelsr/r0r1Zapir2r3r4r5rr6r7r8Zsessionsr9r:Zstatus_codesr;r<r=r>r?r@rArBrCrD�loggingrE�Handler�	getLoggerrI�
addHandlerrrrr�<module>)sL

"":@