U ÀÒ.eêã @sdZddlmZddlmZddlZddlmZdd„Zd d „Zzeej ej ƒWn0e e fk r‚e  d   ej ej ¡e¡YnXdd lmZesÖz,dd lmZe ¡ddlm ZeeƒWnek rÔYnXddlmZe de¡ddl mZmZmZm Z ddl mZmZmZmZddl m Z m!Z!ddl"m#Z#ddl"m$Z$ddl%m&Z&m'Z'm(Z(ddl)m*Z*m+Z+m,Z,m-Z-m.Z.m/Z/m0Z0m1Z1ddl2m3Z3m4Z4ddl5m6Z6ddlm7Z7m8Z8m9Z9m:Z:m;Z;mZ>m?Z?ddl@Z@ddl@mAZAe@ BeC¡ DeAƒ¡ejde=dd�dS)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('https://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) 2017 by Kenneth Reitz. :license: Apache 2.0, see LICENSE for more details. é)Úurllib3)ÚchardetNé)ÚRequestsDependencyWarningcCsÔ| d¡}|dgkst‚t|ƒdkr.| d¡|\}}}t|ƒt|ƒt|ƒ}}}|dks`t‚|dkslt‚|dksxt‚| d¡dd…\}}}t|ƒt|ƒt|ƒ}}}|dks¸t‚|dksÄt‚|dksÐt‚dS) NÚ.ZdevéÚ0rééé)ÚsplitÚAssertionErrorÚlenÚappendÚint)Zurllib3_versionZchardet_versionÚmajorÚminorÚpatch©rúA/usr/lib/python3.8/site-packages/pip/_vendor/requests/__init__.pyÚcheck_compatibility1s         rcCsXzttt| d¡ƒƒ}Wntk r.YdSX|dddgkrTd |¡}t |t¡dS)Nrrr éz4Old version of cryptography ({}) may cause slowdown.) ÚlistÚmaprr Ú ValueErrorÚformatÚwarningsÚwarnr)Úcryptography_versionZwarningrrrÚ_check_cryptographyJs rz?urllib3 ({}) or chardet ({}) doesn't match a supported version!)ÚWINDOWS)Ú pyopenssl)Ú __version__)ÚDependencyWarningÚignore)Ú __title__Ú__description__Ú__url__r")Ú __build__Ú __author__Ú__author_email__Ú __license__)Ú __copyright__Ú__cake__)Úutils)Úpackages)ÚRequestÚResponseÚPreparedRequest)ÚrequestÚgetÚheadÚpostrÚputÚdeleteÚoptions)ÚsessionÚSession)Úcodes) ÚRequestExceptionÚTimeoutÚ URLRequiredÚTooManyRedirectsÚ HTTPErrorÚConnectionErrorÚFileModeWarningÚConnectTimeoutÚ ReadTimeout)Ú NullHandlerÚdefaultT)r)EÚ__doc__Z pip._vendorrrrÚ exceptionsrrrr"r rrrZpip._internal.utils.compatr Zpip._vendor.urllib3.contribr!Zinject_into_urllib3Z cryptographyrÚ ImportErrorZpip._vendor.urllib3.exceptionsr#Ú simplefilterr%r&r'r(r)r*r+r,r-Úr.r/Zmodelsr0r1r2Zapir3r4r5r6rr7r8r9Zsessionsr:r;Z status_codesr<r=r>r?r@rArBrCrDrEZloggingrFZ getLoggerÚ__name__Z addHandlerrrrrÚsP#    ÿþ         ( ,