HEX
Server: Apache
System: Linux zacp120.webway.host 4.18.0-553.50.1.lve.el8.x86_64 #1 SMP Thu Apr 17 19:10:24 UTC 2025 x86_64
User: govancoz (1003)
PHP: 8.3.26
Disabled: exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Upload Files
File: //usr/lib/python3.9/site-packages/pip/_internal/network/__pycache__/utils.cpython-39.pyc
a

?�fL�@s\ddlmZmZddlmZddlmZer<ddlmZm	Z	ddiZ
dd�Zefd	d
�ZdS)�)�CONTENT_CHUNK_SIZE�Response)�NetworkConnectionError)�MYPY_CHECK_RUNNING)�Dict�IteratorzAccept-EncodingZidentitycCs�d}t|jt�rBz|j�d�}WqHty>|j�d�}YqH0n|j}d|jkr^dkrvnnd|j||jf}n,d|jkr�dkr�nnd|j||jf}|r�t||d	��dS)
N�zutf-8z
iso-8859-1i�i�z%s Client Error: %s for url: %siXz%s Server Error: %s for url: %s)�response)�
isinstance�reason�bytes�decode�UnicodeDecodeErrorZstatus_code�urlr)ZrespZhttp_error_msgr�r�?/usr/lib/python3.9/site-packages/pip/_internal/network/utils.py�raise_for_statuss"
�
�rccsRz |jj|dd�D]
}|VqWn,tyL|j�|�}|s@qH|Vq.Yn0dS)z8Given a requests Response, provide the data chunks.
    F)Zdecode_contentN)�raw�stream�AttributeError�read)r	Z
chunk_size�chunkrrr�response_chunks:s�
rN)
Zpip._vendor.requests.modelsrrZpip._internal.exceptionsrZpip._internal.utils.typingr�typingrrZHEADERSrrrrrr�<module>s