a oec @sPdZddlZddlZddlmZzddlmZWneyFdZYn0zddl mZ WneyndZ Yn0ddZ dd Z ze eje eWn.e efyed eje eeYn0z^z ddlZWneydZYn0eed d sdd lmZeddlmZe eWney4Yn0ddlmZededdlZddlmZddlmZmZddlm Z m!Z!m"Z"m#Z#m$Z$m%Z%m&Z&m'Z'm(Z(mZddl)m*Z*m+Z+m,Z,m-Z-m.Z.m/Z/m0Z0m1Z1ddlm2Z2m3Z3m4Z4m5Z5m6Z6m7Z7m8Z8m9Z9m:Z:m;Z;ddlZ>m?Z?ddl@mAZAmBZBddlCmDZDeEeFGeejde4dddS)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 >>> 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)RequestsDependencyWarning) __version__cCs:|d}|dgksJt|dkr.|d|\}}}t|t|t|}}}|dks`J|dkrt|dkstJ|r|ddd\}}}t|t|t|}}}d|||fkrd ksnJnh|r.|ddd\}}}t|t|t|}}}d |||fkr&d ks6nJntd dS) N.dev0r)r rr)rr)rrr)rrz7You need either charset_normalizer or chardet installed)splitlenappendint Exception)Zurllib3_versionchardet_versioncharset_normalizer_versionmajorminorpatchr2C:\Program Files\Certbot\pkgs\requests\__init__.pycheck_compatibility:s$      "&rcCsTzttt|d}Wnty,YdS0|gdkrPd|}t|tdS)Nr)rr r z4Old version of cryptography ({}) may cause slowdown.) listmaprr ValueErrorformatwarningswarnr)cryptography_versionZwarningrrr_check_cryptographyYs  r!zWurllib3 ({}) or chardet ({})/charset_normalizer ({}) doesn't match a supported version!ZHAS_SNIF) pyopenssl)DependencyWarningignore) NullHandler)packagesutils) __author____author_email__ __build____cake__ __copyright____description__ __license__ __title____url__r)deletegetheadoptionsrpostputrequest) ConnectionErrorConnectTimeoutFileModeWarning HTTPErrorJSONDecodeError ReadTimeoutRequestExceptionTimeoutTooManyRedirects URLRequired)PreparedRequestRequestResponse)Sessionsession)codesdefaultT)r)H__doc__rZurllib3 exceptionsrZcharset_normalizerrr ImportErrorZchardetrrr!AssertionErrorrrrZsslgetattrZurllib3.contribr"Zinject_into_urllib3Z cryptographyr Zurllib3.exceptionsr# simplefilterZloggingr%r&r'r(r)r*r+r,r-r.r/r0Zapir1r2r3r4rr5r6r7r8r9r:r;r<r=r>r?r@rAZmodelsrBrCrDZsessionsrErFZ status_codesrGZ getLogger__name__Z addHandlerrrrrsb#               0 (0