U lf@sFdZddlZddlZddZeZejZeddkZeddkZdZ zddl Z dZ Wne k rpddl Z YnXe rdd l m Z n dd l m Z dd lmZdd lmZmZmZdd lmZdd lmZddlmZddlmZmZmZmZm Z m!Z!m"Z"m#Z#m$Z$m%Z%ddl&m'Z'm(Z(m)Z)m*Z*m+Z+e,Z-e,Z,e.Z.e,e.fZ/e0e1fZ2e0fZ3dS)z requests.compat ~~~~~~~~~~~~~~~ This module previously handled import compatibility issues between Python 2 and Python 3. It remains for backwards compatibility until the next major version. Nc Cs>d}dD]0}|dkrzt|}Wqtk r6YqXq|S)z-Find supported character detection libraries.N)chardetZcharset_normalizer) importlib import_module ImportError)rlibr=/opt/hc_python/lib/python3.8/site-packages/requests/compat.py_resolve_char_detectionsr FT)JSONDecodeError) OrderedDict)CallableMappingMutableMapping) cookiejar)Morsel)StringIO) quote quote_plusunquote unquote_plus urldefrag urlencodeurljoinurlparseurlsplit urlunparse) getproxiesgetproxies_environmentparse_http_list proxy_bypassproxy_bypass_environment)4__doc__rsysr r version_info_veris_py2is_py3Zhas_simplejsonZ simplejsonjsonrr collectionsr collections.abcrrrhttpr cookielib http.cookiesrior urllib.parserrrrrrrrrrurllib.requestrrr r!r"str builtin_strbytes basestringintfloat numeric_types integer_typesrrrrs:         0