a
    d	g                     @   sD  d Z ddlZddlZdd Ze ZejZed dkZed dkZdZ	zddl
ZdZ	W n eyn   ddlZY n0 e	rdd	l
mZ ndd	lmZ dd
lmZ ddlmZmZmZ ddlmZ ddlmZ ddlmZ ddlmZmZmZmZm Z m!Z!m"Z"m#Z#m$Z$m%Z% ddl&m'Z'm(Z(m)Z)m*Z*m+Z+ e,Z-e,Z,e.Z.e,e.fZ/e0e1fZ2e0fZ3dS )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               	   C   s<   d} dD ].}| du rzt |} W q ty4   Y q0 q| S )z-Find supported character detection libraries.N)chardetZcharset_normalizer)	importlibimport_moduleImportError)r   lib r   R/var/www/html/llm_bihealth/app/venv/lib/python3.9/site-packages/requests/compat.py_resolve_char_detection   s    r	         FT)JSONDecodeError)OrderedDict)CallableMappingMutableMapping)	cookiejar)Morsel)StringIO)
quote
quote_plusunquoteunquote_plus	urldefrag	urlencodeurljoinurlparseurlsplit
urlunparse)
getproxiesgetproxies_environmentparse_http_listproxy_bypassproxy_bypass_environment)4__doc__r   sysr	   r   version_info_veris_py2is_py3Zhas_simplejsonZ
simplejsonjsonr   r   collectionsr   collections.abcr   r   r   httpr   	cookielibhttp.cookiesr   ior   urllib.parser   r   r   r   r   r   r   r   r   r   urllib.requestr   r   r    r!   r"   strbuiltin_strbytes
basestringintfloatnumeric_typesinteger_typesr   r   r   r   <module>   s:   	0