ok

Mini Shell

Direktori : /opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/requests/
Upload File :
Current File : //opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/requests/__init__.pyo

�
Bu�_c@s�dZddlmZddlmZddlZddlmZd�Zd�Zyeej	ej	�Wn9e
efk
r�ejd	j
ej	ej	�e�nXy�dd
lmZes�ed��nyddlZWnek
r�dZnXeede�sBdd
lmZej�ddlm	Zee�nWnek
rVnXddlmZejde�ddl	mZmZmZm	Z	ddl	m Z m!Z!m"Z"m#Z#ddl	m$Z$m%Z%ddl&m'Z'ddl&m(Z(ddl)m*Z*m+Z+m,Z,ddl-m.Z.m/Z/m0Z0m1Z1m2Z2m3Z3m4Z4m5Z5ddl6m7Z7m8Z8ddl9m:Z:ddlm;Z;m<Z<m=Z=m>Z>m?Z?m@Z@mAZAmBZBmCZCddlDZDddlDmEZEeDjFeG�jHeE��ejdeAdeI�dS(s�
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
   >>> b'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": {
       "key1": "value1",
       "key2": "value2"
     },
     ...
   }

The other HTTP methods are supported - see `requests.api`. Full documentation
is at <https://requests.readthedocs.io>.

:copyright: (c) 2017 by Kenneth Reitz.
:license: Apache 2.0, see LICENSE for more details.
i����(turllib3(tchardetNi(tRequestsDependencyWarningcCs�|jd�}t|�dkr1|jd�n|\}}}t|�t|�t|�}}}|jd�d \}}}t|�t|�t|�}}}dS(Nt.it0i(tsplittlentappendtint(turllib3_versiontchardet_versiontmajortminortpatch((sN/opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/requests/__init__.pytcheck_compatibility1s&&cCsry"ttt|jd���}Wntk
r6dSX|dddgkrndj|�}tj|t�ndS(NRiiis4Old version of cryptography ({}) may cause slowdown.(	tlisttmapRRt
ValueErrortformattwarningstwarnR(tcryptography_versiontwarning((sN/opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/requests/__init__.pyt_check_cryptographyJs"
s?urllib3 ({}) or chardet ({}) doesn't match a supported version!(tWINDOWSs3pip internals: don't import cryptography on WindowstHAS_SNI(t	pyopenssl(t__version__(tDependencyWarningtignore(t	__title__t__description__t__url__R(t	__build__t
__author__t__author_email__t__license__(t
__copyright__t__cake__(tutils(tpackages(tRequesttResponsetPreparedRequest(trequesttgettheadtpostR
tputtdeletetoptions(tsessiontSession(tcodes(	tRequestExceptiontTimeouttURLRequiredtTooManyRedirectst	HTTPErrortConnectionErrortFileModeWarningtConnectTimeouttReadTimeout(tNullHandlertdefaultR(Jt__doc__tpip._vendorRRRt
exceptionsRRRRtAssertionErrorRRRtpip._internal.utils.compatRtImportErrortssltNonetgetattrtFalsetpip._vendor.urllib3.contribRtinject_into_urllib3tcryptographyRtpip._vendor.urllib3.exceptionsRtsimplefilterRRR R!R"R#R$R%R&tR'R(tmodelsR)R*R+tapiR,R-R.R/R
R0R1R2tsessionsR3R4tstatus_codesR5R6R7R8R9R:R;R<R=R>tloggingR?t	getLoggert__name__t
addHandlertTrue(((sN/opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/requests/__init__.pyt<module>)sV		



"":@

Zerion Mini Shell 1.0