2bi S r SSKrSSKrSSKrSSKrSSKJrJrJ r SSK JrJr SSK Jr SSKJr SSKJr SSKJr SS KJr SS KJr SSKJrJrJr SSKJrJrJ r \RB " \"5 r#S \S\\$ 4S jr%S \S\S\&S\\' 4S jr(S\&S\&4S jr)S\&S\&S\&4S jr*S \S\S\&4S jr+S\S\S\4S jr, " S S5 r- " S S5 r.g)z)Download files with progress indicators. N)IterableOptionalTuple)CONTENT_CHUNK_SIZEResponse)get_download_progress_renderer)NetworkConnectionError)PyPI)Link) is_from_cache) PipSession)HEADERSraise_for_statusresponse_chunks)format_sizeredact_auth_from_urlsplitextrespreturnc j [ U R S 5 $ ! [ [ [ 4 a g f = f)Nzcontent-length)intheaders ValueErrorKeyError TypeError)r s ڐ/builddir/build/BUILDROOT/alt-python313-pip-23.3.1-3.el8.x86_64/opt/alt/python313/lib/python3.13/site-packages/pip/_internal/network/download.py_get_http_response_sizer s5 4<< 0122), s 22linkprogress_barc P [ U 5 nUR [ R :X a UR nOUR n[ U5 nU( a SR U[ U5 5 n[ U 5 ( a [ R SU5 O[ R SU5 [ R 5 [ R : a SnO([ U 5 ( a SnOU( d SnOUS: a SnOSn[ U [ 5 nU( d U$ [# X#S9nU" U5 $ )Nz{} ({})zUsing cached %szDownloading %sFTi@ )bar_typesize)r netlocr file_storage_domainshow_urlurl_without_fragmentr formatr r loggerinfogetEffectiveLevelloggingINFOr r r ) r r r total_lengthurl logged_url show_progresschunksrenderers r _prepare_downloadr3 s +40L{{d...mm''%c*J%%j+l2KL T%z2$j1 !GLL0 t # T#5 6F -|WHF filenamec @ [ R R U 5 $ )zB Sanitize the "filename" value from a Content-Disposition header. )ospathbasename)r5 s r sanitize_content_filenamer: H s 77H%%r4 content_dispositiondefault_filenamec [ R R 5 nXS' UR S5 nU( a [ [ U5 5 nU=( d U$ )zw Parse the "filename" value from a Content-Disposition header, and return the default filename if the result is empty. content-typer5 )emailmessageMessage get_paramr: str)r; r<