/opt/support/venv/lib/python3.13/site-packages/urllib3/util/__pycache__
NameSizeModeActions
connection.cpython-313.pyc47140644editdlrm
proxy.cpython-313.pyc12040644editdlrm
request.cpython-313.pyc83840644editdlrm
response.cpython-313.pyc28830644editdlrm
retry.cpython-313.pyc202400644editdlrm
ssltransport.cpython-313.pyc134250644editdlrm
ssl_.cpython-313.pyc173520644editdlrm
ssl_match_hostname.cpython-313.pyc57100644editdlrm
timeout.cpython-313.pyc112770644editdlrm
url.cpython-313.pyc162690644editdlrm
util.cpython-313.pyc21070644editdlrm
wait.cpython-313.pyc35310644editdlrm
__init__.cpython-313.pyc9840644editdlrm
Edit: /opt/support/venv/lib/python3.13/site-packages/urllib3/util/__pycache__/request.cpython-313.pyc (8384B)
i J%SSKJr SSKrSSKrSSKrSSKJr SSKJr SSK J r SSK J r \R(aSS KJr S r\"/S Q5rS rSSKr\S - r\R.S:aSSKJr OSSKJr \S- r"SS\5r\R:rS\S'\R@\!\4r"1Skr#SSSjjr$SSjr%SSjr&"SS\RN5r(S Sjr)g!\a SSKrNf=f!\a Nf=f!\a Nf=f)!) annotationsN) b64encode)Enum)UnrewindableBodyError)to_bytes)Finalz@@@SKIP_HEADER@@@)accept-encodinghost user-agentz gzip,deflatez,br))zstdz,zstdc\rSrSrSrSrg)_TYPE_FAILEDTELL,rN)__name__ __module__ __qualname____firstlineno__token__static_attributes__rF/opt/support/venv/lib/python3.13/site-packages/urllib3/util/request.pyrr,s ErrzFinal[_TYPE_FAILEDTELL] _FAILEDTELL>GETHEADTRACEDELETECONNECTOPTIONSc0nU(aG[U[5(aO-[U[5(aSRU5nO[nXS'U(aX&S'U(aSUS'U(a.S[ UR S55R53US'U(a.S[ UR S55R53US 'U(aS US 'U$) a  Shortcuts for generating request headers. :param keep_alive: If ``True``, adds 'connection: keep-alive' header. :param accept_encoding: Can be a boolean, list, or string. ``True`` translates to 'gzip,deflate'. If the dependencies for Brotli (either the ``brotli`` or ``brotlicffi`` package) and/or Zstandard (the ``backports.zstd`` package for Python before 3.14) algorithms are installed, then their encodings are included in the string ('br' and 'zstd', respectively). List will get joined by comma. String will be used as provided. :param user_agent: String representing the user-agent you want, such as "python-urllib3/0.6" :param basic_auth: Colon-separated username:password string for 'authorization: basic ...' auth header. :param proxy_basic_auth: Colon-separated username:password string for 'proxy-authorization: basic ...' auth header. :param disable_cache: If ``True``, adds 'cache-control: no-cache' header. Example: .. code-block:: python import urllib3 print(urllib3.util.make_headers(keep_alive=True, user_agent="Batman/1.0")) # {'connection': 'keep-alive', 'user-agent': 'Batman/1.0'} print(urllib3.util.make_headers(accept_encoding=True)) # {'accept-encoding': 'gzip,deflate'} ,r r z keep-alive connectionzBasic zlatin-1 authorizationzproxy-authorizationzno-cachez cache-control) isinstancestrlistjoinACCEPT_ENCODINGrencodedecode) keep_aliveaccept_encoding user_agent basic_authproxy_basic_auth disable_cacheheaderss r make_headersr6<sd!G os + +   . .!hh7O-O%4!" *  , Yz00;<CCEF G  Y/66yABIIKL M %&#- NrcUb [X5 U$[USS5bUR5nU$U$![a [nU$f=f)zs If a position is provided, move file to that point. Otherwise, we'll attempt to record a position for future use. Ntell) rewind_bodygetattrr8OSErrorr)bodyposs rset_file_positionr>sa D J vt $ 0 ))+C J3J  C J  s4AAc[USS5nUb[U[5(a U"U5 gU[ La [ S5e[ S[U5S35e![an[ S5UeSnAff=f)z Attempt to rewind body to a certain position. Primarily used for request redirects and retries. :param body: File-like object that supports seek. :param int pos: Position to seek to in file. seekNzAAn error occurred when rewinding request body for redirect/retry.zRUnable to record file position for rewinding request body during a redirect/retry.z1body_pos must be of type integer, instead it was .)r:r(intr;rr ValueErrortype)r<body_pos body_seekes rr9r9sfd+IHc!:!:  h  [ # 4  ?X?Oq Q   'S  sA A7& A22A7c*\rSrSr%S\S'S\S'Srg)ChunksAndContentLengthztyping.Iterable[bytes] | Nonechunksz int | Nonecontent_lengthrN)rrrr__annotations__rrrrrIrIs ))rrIc^^Tc SnUR5[;aSnOxSnOu[T[[45(a[ T54n[ US5nO?[TS5(aSUU4SjjnU"5nSnO[T5nT4nURn[X4S9$![a/ [T5nSnN#![a [ST<35Sef=ff=f)a:Takes the HTTP request method, body, and blocksize and transforms them into an iterable of chunks to pass to socket.sendall() and an optional 'Content-Length' header. A 'Content-Length' of 'None' indicates the length of the body can't be determined so should use 'Transfer-Encoding: chunked' for framing instead. Nrreadc3># [T[R5nTRT5nU(dgU(aUR S5nUv M77f)Nzutf-8)r(io TextIOBaserOr-)r- datablock blocksizer<s rchunk_readable&body_to_chunks..chunk_readablesJbmm4F IIi0   ) 0 0 9I sAAzO'body' must be a bytes-like object, file-like object, or iterable. Instead was )rKrL)returnztyping.Iterable[bytes]) upper_METHODS_NOT_EXPECTING_BODYr(r)bytesr lenhasattr memoryviewnbytes TypeErroriterrI)r<methodrTrKrLrUmvs` ` rbody_to_chunksrcs$ | <<>!< <N!N D3, ' '4."VAY v     ! 'D!BWFYYN ! OO  d!% 88>CC)NNNNNN)r/ bool | Noner0zbool | list[str] | str | Noner1 str | Noner2rer3rer4rdrWzdict[str, str])r<z typing.Anyr=_TYPE_BODY_POSITION | NonerWrf)r<ztyping.IO[typing.AnyStr]rE_TYPE_BODY_POSITIONrWNone)r<ztyping.Any | Nonerar)rTrBrWrI)* __future__rrQsystypingbase64renumr exceptionsrutilr TYPE_CHECKINGr SKIP_HEADER frozensetSKIPPABLE_HEADERSr, brotlicffi_unused_module_brotli ImportErrorbrotli version_info compressionr_unused_module_zstd backportsrrrrMUnionrBrgrYr6r>r9 NamedTuplerIrcrrrr~s" .  " GH /2 uO 7";9wOt(8'='= $=ll3(8#89W#59!!#'!% OO2OO O ! O  OOd 5( <V.. BP BP%(BP58BPBPW /./    s<C=D= D D D  D DDD"!D"