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/local/lib/python3.7/site-packages/pip/_internal/network/__pycache__/utils.cpython-37.pyc
B

L��g��@szUddlmZmZddlmZmZddlmZddiZee	e	fe
d<edd�d	d
�Zefeeee
ddfd�dd
�ZdS)�)�Dict�	Generator)�CONTENT_CHUNK_SIZE�Response)�NetworkConnectionErrorzAccept-Encoding�identity�HEADERSN)�resp�returncCs�d}t|jt�rDy|j�d�}WqJtk
r@|j�d�}YqJXn|j}d|jkr`dkr~nn|j�d|�d|j��}n2d|jkr�dkr�nn|j�d	|�d|j��}|r�t||d
��dS)N�zutf-8z
iso-8859-1i�i�z Client Error: z
 for url: iXz Server Error: )�response)�
isinstance�reason�bytes�decode�UnicodeDecodeError�status_code�urlr)r	�http_error_msgr�r�?/tmp/pip-unpacked-wheel-hv55ucu3/pip/_internal/network/utils.py�raise_for_statussr)r�
chunk_sizer
ccs\y$x|jj|dd�D]
}|VqWWn2tk
rVx|j�|�}|sHP|Vq6WYnXdS)z3Given a requests Response, provide the data chunks.F)�decode_contentN)�raw�stream�AttributeError�read)rr�chunkrrr�response_chunks9sr)�typingrrZpip._vendor.requests.modelsrr�pip._internal.exceptionsrr�str�__annotations__r�intrrrrrr�<module>s