VY•ã@sÖdZdZdZdZdZdZdZyddlmZej ƒWne k r\YnXd d l Z dd l m Z e jd e ƒdd lmZddlmZmZmZddlmZmZmZmZmZmZmZmZddlmZm Z ddl!m"Z"ddl#m$Z$m%Z%m&Z&m'Z'm(Z(m)Z)m*Z*m+Z+m,Z,d d l-Z-yd dl-m.Z.Wn+e k r¢Gdd„de-j/ƒZ.YnXe-j0e1ƒj2e.ƒƒe jde*ddƒ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 . :copyright: (c) 2016 by Kenneth Reitz. :license: Apache 2.0, see LICENSE for more details. Úrequestsz2.14.1iz Kenneth Reitzz Apache 2.0zCopyright 2016 Kenneth Reitzé)Ú pyopenssléN)ÚDependencyWarningÚignore)Úutils)ÚRequestÚResponseÚPreparedRequest)ÚrequestÚgetÚheadÚpostÚpatchÚputÚdeleteÚoptions)ÚsessionÚSession)Úcodes) ÚRequestExceptionÚTimeoutÚ URLRequiredÚTooManyRedirectsÚ HTTPErrorÚConnectionErrorÚFileModeWarningÚConnectTimeoutÚ ReadTimeout)Ú NullHandlerc@seZdZdd„ZdS)rcCsdS)N©)ÚselfÚrecordr r ú5/tmp/pip-build-04bmskau/requests/requests/__init__.pyÚemitPszNullHandler.emitN)Ú__name__Ú __module__Ú __qualname__r$r r r r#rOs rÚdefaultÚappendT)3Ú__doc__Ú __title__Ú __version__Ú __build__Ú __author__Ú __license__Ú __copyright__Zpackages.urllib3.contribrZinject_into_urllib3Ú ImportErrorÚwarningsZpackages.urllib3.exceptionsrÚ simplefilterÚrÚmodelsrr r Úapir r r rrrrrÚsessionsrrÚ status_codesrÚ exceptionsrrrrrrrrrÚloggingrÚHandlerÚ getLoggerr%Ú addHandlerr r r r#Ú)s6  :@