grthtrhthjhtyjytjytkergtrhtrjytjerhrfh4:24 29/09/2026a ¥/�h-ã @sdZddlZddlZddlZddlmZdd„Zdd„ZzeejejƒWn.e e fyxe  d   ejej¡e¡Yn0z\z ddl Z WneyždZ Yn0ee d d ƒsÔdd lmZe ¡dd lmZeeƒWneyèYn0ddlmZe de¡ddlmZmZmZmZddlmZmZmZmZddlmZm 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.m/Z/m0Z0ddl1m2Z2m3Z3ddl4m5Z5ddlm6Z6m7Z7m8Z8m9Z9m:Z:m;Z;mZ>ddl?Z?ddl?m@Z@e? AeB¡ Ce@ƒ¡ejde>> 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 . :copyright: (c) 2017 by Kenneth Reitz. :license: Apache 2.0, see LICENSE for more details. éNé)ÚRequestsDependencyWarningcCs~| d¡}t|ƒdkr | d¡|\}}}t|ƒt|ƒt|ƒ}}}| d¡dd…\}}}t|ƒt|ƒt|ƒ}}}dS)NÚ.éÚ0é)ÚsplitÚlenÚappendÚint)Zurllib3_versionZchardet_versionÚmajorÚminorÚpatch©rú5/usr/lib/python3.9/site-packages/requests/__init__.pyÚcheck_compatibility1s    rcCsTzttt| d¡ƒƒ}Wnty,YdS0|gd¢krPd |¡}t |t¡dS)Nr)rréz4Old version of cryptography ({}) may cause slowdown.) ÚlistÚmapr rÚ ValueErrorÚformatÚwarningsÚwarnr)Úcryptography_versionZwarningrrrÚ_check_cryptographyHs   rz?urllib3 ({}) or chardet ({}) doesn't match a supported version!ZHAS_SNIF)Ú 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 )DÚ__doc__Zurllib3ZchardetrÚ exceptionsrrrrÚAssertionErrorrrrZsslÚ ImportErrorÚgetattrZurllib3.contribrZinject_into_urllib3Z cryptographyrZurllib3.exceptionsrÚ simplefilterrr r!r"r#r$r%r&r'Úr(r)Zmodelsr*r+r,Zapir-r.r/r0rr1r2r3Zsessionsr4r5Z status_codesr6r7r8r9r:r;r<r=r>r?Zloggingr@Z getLoggerÚ__name__Z addHandlerrrrrÚsT#  ÿþ             ( ,