7f UddlmZmZddlmZddlmZddiZeeefe d<dZ ded d fd Z e fd ed e d ee d d ffdZd S))Dict Generator)Response)NetworkConnectionErrorzAccept-EncodingidentityHEADERSirespreturnNcd}t|jtrF |jd}n1#t$r|jd}Yn wxYw|j}d|jcxkrdkrnn|jd|d|j}n)d|jcxkrdkrnn|jd |d|j}|rt|| dS) Nzutf-8z iso-8859-1iiz Client Error: z for url: iXz Server Error: )response) isinstancereasonbytesdecodeUnicodeDecodeError status_codeurlr)r http_error_msgrs {/builddir/build/BUILD/imunify360-venv-2.3.5/opt/imunify360/venv/lib/python3.11/site-packages/pip/_internal/network/utils.pyraise_for_statusrs2N$+u%%   6[''00FF! 6 6 6['' 55FFF 6 d$$$$$$$$$ L L L L$( L L   & & & &3 & & & & & L L L L$( L L D$^dCCCCDDs9$A A r chunk_sizec#K |j|dD]}|VdS#t$r& |j|}|sYdS|V$wxYw)z3Given a requests Response, provide the data chunks.F)decode_contentTN)rawstreamAttributeErrorread)r rchunks rresponse_chunksr ;s#\(( .!1)    E4KKKK5  6  L%%j11E KKK  s#)'AA)typingrrpip._vendor.requests.modelsrpip._internal.exceptionsrrstr__annotations__DOWNLOAD_CHUNK_SIZErintrr rr*s"""""""""000000;;;;;;*-j9c3h999 D8DDDDD:+>'''$''udD !''''''r)