Current File : //proc/2/root/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/requests/__init__.pyc
�
�wMVc@s�dZdZdZdZdZdZdZyddlmZej �Wne
k
r[nXdd lmZdd
l
mZmZmZddlmZmZmZmZmZmZmZmZddlmZmZdd
lmZddlm Z m!Z!m"Z"m#Z#m$Z$m%Z%ddl&Z&yddl&m'Z'Wn*e
k
rbde&j(fd��YZ'nXe&j)e*�j+e'��dS(s�
requests HTTP library
~~~~~~~~~~~~~~~~~~~~~
Requests is an HTTP library, written in Python, for human beings. Basic GET
usage:
>>> import requests
>>> r = requests.get('http://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) 2014 by Kenneth Reitz.
:license: Apache 2.0, see LICENSE for more details.
trequestss2.3.0is
Kenneth Reitzs
Apache 2.0sCopyright 2014 Kenneth Reitzi(t pyopenssl(tutils(tRequesttResponsetPreparedRequest(trequesttgettheadtposttpatchtputtdeletetoptions(tsessiontSession(tcodes(tRequestExceptiontTimeouttURLRequiredtTooManyRedirectst HTTPErrortConnectionErrori����N(tNullHandlerRcBseZd�ZRS(cCsdS(N((tselftrecord((sN/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/requests/__init__.pytemitJs(t__name__t
__module__R(((sN/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/requests/__init__.pyRIs(,t__doc__t __title__t__version__t __build__t
__author__t__license__t
__copyright__tpackages.urllib3.contribRtinject_into_urllib3tImportErrortRtmodelsRRRtapiRRRR R
RRR
tsessionsRRtstatus_codesRt
exceptionsRRRRRRtloggingRtHandlert getLoggerRt
addHandler(((sN/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/requests/__init__.pyt<module>*s.
:.