HEX
Server: Microsoft-IIS/10.0
System: Windows NT ITPWINWEBSVR22 10.0 build 20348 (Windows Server 2022) AMD64
User: www.conferencesearch.co.uk (0)
PHP: 8.3.30
Disabled: NONE
Upload Files
File: D:/Python311/Lib/site-packages/pip/_internal/network/__pycache__/utils.cpython-311.pyc
�

�mi��
��UddlmZddlmZddlmZddiZeeefe	d<dZ
ded	d
fd�Ze
fded
ed	ee
d
d
ffd�Zd
S)�)�	Generator)�Response)�NetworkConnectionErrorzAccept-Encoding�identity�HEADERSi�resp�returnNc��d}t|jt��rF	|j�d��}n1#t$r|j�d��}YnwxYw|j}d|jcxkrdkrnn|j�d|�d|j��}n)d|jcxkrdkrnn|j�d	|�d|j��}|rt||�
���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_msgrs   �=D:\Python311\Lib\site-packages\pip/_internal/network/utils.py�raise_for_statusrsV���N��$�+�u�%�%�
�
	6��[�'�'��0�0�F�F��!�	6�	6�	6��[�'�'��5�5�F�F�F�	6�������
�d��
�
�
�
��
�
�
�
�
���L�L��L�L�$�(�L�L�	��

�� �
�
�
�
�3�
�
�
�
�
���L�L��L�L�$�(�L�L�	��D�$�^�d�C�C�C�C�D�Ds�9�$A �A r�
chunk_sizec#�K�	|j�|d���D]}|V��dS#t$r&	|j�|��}|sYdS|V��$wxYw)z3Given a requests Response, provide the data chunks.F)�decode_contentTN)�raw�stream�AttributeError�read)rr�chunks   r�response_chunksr;s�����#��\�(�(��.!�1)�
�
�	�	�E�4�K�K�K�K�5	�	��6����	��L�%�%�j�1�1�E��
�����K�K�K�		����s�#)�'A�A)�collections.abcr�pip._vendor.requests.modelsr�pip._internal.exceptionsrr�dict�str�__annotations__�DOWNLOAD_CHUNK_SIZEr�intrr��r�<module>r*s���%�%�%�%�%�%�%�0�0�0�0�0�0�;�;�;�;�;�;�*-�j�9���c�3�h��9�9�9� ��D�8�D��D�D�D�D�:+>�'�'��'�$'�'��u�d�D� �!�'�'�'�'�'�'r)