
    q"h              
           % S SK JrJr  S SKJr  S SKJr  SS0r\\\4   \	S'   Sr
S\S	S
4S jr\
4S\S\S	\\S
S
4   4S jjrg
)    )Dict	Generator)Response)NetworkConnectionErrorzAccept-EncodingidentityHEADERSi   respreturnNc                    Sn[        U R                  [        5      (       a   U R                  R                  S5      nOU R                  nSU R
                  s=::  a  S:  a"  O  OU R
                   SU SU R                   3nO8SU R
                  s=::  a  S:  a!  O  OU R
                   S	U SU R                   3nU(       a	  [        XS
9eg ! [         a    U R                  R                  S5      n Nf = f)N zutf-8z
iso-8859-1i  i  z Client Error: z
 for url: iX  z Server Error: )response)
isinstancereasonbytesdecodeUnicodeDecodeErrorstatus_codeurlr   )r	   http_error_msgr   s      M/var/www/html/env/lib/python3.13/site-packages/pip/_internal/network/utils.pyraise_for_statusr      s    N$++u%%
	6[[''0F 
d$$ xz$((L 	 
  	&3	& xz$((L 	 $^CC  " 	6[[''5F	6s   C %C54C5r   
chunk_sizec              #      #     U R                   R                  USS9 H  nUv   M	     g! [         a,     U R                   R                  U5      nU(       d   gUv   M*  f = f7f)z3Given a requests Response, provide the data chunks.F)decode_contentN)rawstreamAttributeErrorread)r   r   chunks      r   response_chunksr    ;   sn     #\\((. !1 ) 
E4 K5
6  LL%%j1EK	 s%   A#%* A#-A A#A  A#)typingr   r   pip._vendor.requests.modelsr   pip._internal.exceptionsr   r   str__annotations__DOWNLOAD_CHUNK_SIZEr   intr   r         r   <module>r*      st    " " 0 ;* -j9c3h 9  D8 D D: +>''$''udD !'r)   