| Server IP : 127.0.0.1 / Your IP : 216.73.216.109 Web Server : Apache/2.4.54 (Win64) OpenSSL/1.1.1q PHP/8.1.10 System : Windows NT DESKTOP-E5T4RUN 10.0 build 19045 (Windows 10) AMD64 User : SERVERWEB ( 0) PHP Version : 8.1.10 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/cygwin64/lib/python3.6/site-packages/pip/_internal/network/__pycache__/ |
Upload File : |
3 �N�a� � @ sp U d dl mZmZ d dlmZmZ d dlmZ ddiZee e f edd�dd �Z efeeee d �dd�Z dS ) � )�Dict�Iterator)�CONTENT_CHUNK_SIZE�Response)�NetworkConnectionErrorzAccept-Encoding�identityN)�resp�returnc C s� d}t | jt�rDy| jjd�}W qJ tk r@ | jjd�}Y qJX n| j}d| j ko^dk n r~| j� d|� d| j� �}n2d| j ko�dk n r�| j� d |� d| j� �}|r�t|| d ��d S )N� zutf-8z iso-8859-1i� i� z Client Error: z for url: iX z Server Error: )�response)� isinstance�reason�bytes�decode�UnicodeDecodeErrorZstatus_codeZurlr )r Zhttp_error_msgr � r �/usr/lib/python3.6/utils.py�raise_for_status s r )r � chunk_sizer c c s\ y$x| j j|dd�D ] }|V qW W n2 tk rV x| j j|�}|sHP |V q6W Y nX dS )z3Given a requests Response, provide the data chunks.F)Zdecode_contentN)�raw�stream�AttributeError�read)r r �chunkr r r �response_chunks9 s r )Ztypingr r Zpip._vendor.requests.modelsr r Zpip._internal.exceptionsr ZHEADERS�strr �intr r r r r r �<module> s