
~¶V×  ã               @   sª  d  Z  d Z d Z d Z d Z d Z d Z y d d l m Z e j	 ƒ  Wn e
 k
 r\ Yn Xd d	 l m Z d d
 l m Z m Z m Z d d l m Z m Z m Z m Z m Z m Z m Z m Z d d l m Z m Z d d l m Z d d l m  Z  m! Z! m" Z" m# Z# m$ Z$ m% Z% m& Z& d d l' Z' y d d l' m( Z( Wn+ e
 k
 rjGd d „  d e' j) ƒ Z( Yn Xe' j* e+ ƒ j, e( ƒ  ƒ d d l- Z- e- j. d e& d d ƒd S)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) 2015 by Kenneth Reitz.
:license: Apache 2.0, see LICENSE for more details.

Zrequestsz2.9.1i	 zKenneth Reitzz
Apache 2.0zCopyright 2015 Kenneth Reitzé   )Ú	pyopenssl)Úutils)ÚRequestÚResponseÚPreparedRequest)ÚrequestÚgetÚheadÚpostÚpatchÚputÚdeleteÚoptions)ÚsessionÚSession)Úcodes)ÚRequestExceptionÚTimeoutÚURLRequiredÚTooManyRedirectsÚ	HTTPErrorÚConnectionErrorÚFileModeWarningé    N)ÚNullHandlerc               @   s   e  Z d  Z d d „  Z d S)r   c             C   s   d  S)N© )ÚselfÚrecordr   r   ú3/usr/lib/python3/dist-packages/requests/__init__.pyÚemitK   s    zNullHandler.emitN)Ú__name__Ú
__module__Ú__qualname__r   r   r   r   r   r   J   s   r   ÚdefaultÚappendT)/Ú__doc__Z	__title__Ú__version__Z	__build__Ú
__author__Z__license__Z__copyright__Zpackages.urllib3.contribr   Zinject_into_urllib3ÚImportErrorÚ r   Zmodelsr   r   r   Zapir   r   r	   r
   r   r   r   r   Zsessionsr   r   Zstatus_codesr   Ú
exceptionsr   r   r   r   r   r   r   Zloggingr   ZHandlerZ	getLoggerr    Z
addHandlerÚwarningsÚsimplefilterr   r   r   r   Ú<module>*   s2   :4