Your IP : 18.216.126.33


Current Path : /opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/requests/
Upload File :
Current File : //opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/requests/__init__.pyc

�
�Rec@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�}|dgks$t�t|�dkrF|jd�n|\}}}t|�t|�t|�}}}|dks�t�|dks�t�|dks�t�|jd�d \}}}t|�t|�t|�}}}|dkst�|dkst�|dks)t�dS(	Nt.tdevit0iiii(tsplittAssertionErrortlentappendtint(turllib3_versiontchardet_versiontmajortminortpatch((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/requests/__init__.pytcheck_compatibility1s&&cCsry"ttt|jd���}Wntk
r6dSX|dddgkrndj|�}tj|t�ndS(NRiiis4Old version of cryptography ({}) may cause slowdown.(	tlisttmapR
Rt
ValueErrortformattwarningstwarnR(tcryptography_versiontwarning((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/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(trequesttgettheadtpostRtputtdeletetoptions(tsessiontSession(tcodes(	tRequestExceptiontTimeouttURLRequiredtTooManyRedirectst	HTTPErrortConnectionErrortFileModeWarningtConnectTimeouttReadTimeout(tNullHandlertdefaultR	(Jt__doc__tpip._vendorRRRt
exceptionsRRRRRRRRtpip._internal.utils.compatRtImportErrortssltNonetgetattrtFalsetpip._vendor.urllib3.contribRtinject_into_urllib3tcryptographyRtpip._vendor.urllib3.exceptionsRtsimplefilterR R!R"R#R$R%R&R'R(tR)R*tmodelsR+R,R-tapiR.R/R0R1RR2R3R4tsessionsR5R6tstatus_codesR7R8R9R:R;R<R=R>R?R@tloggingRAt	getLoggert__name__t
addHandlertTrue(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/requests/__init__.pyt<module>)sV		



"":@

?>