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.10/site-packages/pip/_internal/network/__pycache__/utils.cpython-310.pyc
o

��i��
@s�UddlmZmZddlmZmZddlmZddiZee	e	fe
d<dedd	fd
d�Zefded
edee
d	d	ffdd�Zd	S)�)�Dict�	Generator)�CONTENT_CHUNK_SIZE�Response)�NetworkConnectionErrorzAccept-Encoding�identity�HEADERS�resp�returnNcCs�d}t|jt�r z|j�d�}Wnty|j�d�}Ynw|j}d|jkr.dkr=nn
|j�d|�d|j��}nd|jkrHdkrVnn|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�F/usr/local/lib/python3.10/site-packages/pip/_internal/network/utils.py�raise_for_statuss"����rr�
chunk_sizeccsT�z|jj|dd�D]}|Vq
WdSty)	|j�|�}|s%YdS|Vqw)z3Given a requests Response, provide the data chunks.F)�decode_contentTN)�raw�stream�AttributeError�read)rr�chunkrrr�response_chunks9s �
����r)�typingrrZpip._vendor.requests.modelsrr�pip._internal.exceptionsrr�str�__annotations__r�intrrrrrr�<module>s����