Files
serveur-d-authentification/venv/lib/python3.10/site-packages/requests/__pycache__/structures.cpython-310.pyc

72 lines
5.7 KiB
Plaintext
Raw Normal View History

o
2026-10-13 11:19:54 +00:00
<00><><EFBFBD>j&<00>@s<>dZddlmZddlmZddlmZmZmZddl m
Z
m Z m Z m Z ddlmZe d<08>Ze d <09>ZGd
d <0B>d eeefe e<00>ZGd d <0A>d eeef<00>ZdS)zO
requests.structures
~~~~~~~~~~~~~~~~~~~
Data structures that power Requests.
<EFBFBD>)<01> annotations)<01> OrderedDict)<03>Iterable<6C>Iterator<6F>Mapping)<04>Any<6E>Generic<69>TypeVar<61>overload<61>)<01>MutableMapping<6E>_VT<56>_Dc@s<>eZdZUdZded< d)d*d d <0C>Zd+dd<11>Zd,dd<13>Zd-dd<15>Zd.dd<18>Z d/dd<1B>Z
d0dd<1E>Z d1d"d#<23>Z d2d%d&<26>Z d3d'd(<28>ZdS)4<>CaseInsensitiveDicta<74>A case-insensitive ``dict``-like object.
Implements all methods and operations of
``MutableMapping`` as well as dict's ``copy``. Also
provides ``lower_items``.
All keys are expected to be strings. The structure remembers the
case of the last key to be set, and ``iter(instance)``,
``keys()``, ``items()``, ``iterkeys()``, and ``iteritems()``
will contain case-sensitive keys. However, querying and contains
testing is case insensitive::
cid = CaseInsensitiveDict()
cid['Accept'] = 'application/json'
cid['aCCEPT'] == 'application/json' # True
list(cid) == ['Accept'] # True
For example, ``headers['content-encoding']`` will return the
value of a ``'Content-Encoding'`` response header, regardless
of how the header name was originally stored.
If the constructor, ``.update``, or equality comparison
operations are given keys that have equal ``.lower()``s, the
behavior is undefined.
z!OrderedDict[str, tuple[str, _VT]]<5D>_storeN<65>data<74>4Mapping[str, _VT] | Iterable[tuple[str, _VT]] | None<6E>kwargsr <00>return<72>NonecKs*t<00>|_|dur
2026-10-13 11:19:54 +00:00
i}|j|fi|<02><01>dS<00>N)rr<00>update)<03>selfrr<00>r<00>]/var/www/cerfig_sso_authentification/venv/lib/python3.10/site-packages/requests/structures.py<70>__init__1szCaseInsensitiveDict.__init__<5F>key<65>str<74>valuecCs||f|j|<01><01><dSr<00>r<00>lower)rrrrrr<00> __setitem__;szCaseInsensitiveDict.__setitem__cCs|j|<01><01>dS)Nr r<00>rrrrr<00> __getitem__@szCaseInsensitiveDict.__getitem__cCs|j|<01><01>=dSrrr"rrr<00> __delitem__C<00>zCaseInsensitiveDict.__delitem__<5F> Iterator[str]cC<01>dd<02>|j<00><01>D<00>S)Ncss<00>|]\}}|VqdSrr)<03>.0<EFBFBD>casedkey<65>_rrr<00> <genexpr>Gs<02>z/CaseInsensitiveDict.__iter__.<locals>.<genexpr>)r<00>values<65>rrrr<00>__iter__FszCaseInsensitiveDict.__iter__<5F>intcCs
t|j<01>Sr)<02>lenrr-rrr<00>__len__Is
zCaseInsensitiveDict.__len__<5F>Iterator[tuple[str, _VT]]cCr')z.Like iteritems(), but with all lowercase keys.css <00>|] \}}||dfVqdS)r Nr)r(<00>lowerkey<65>keyvalrrrr+Ns<02>z2CaseInsensitiveDict.lower_items.<locals>.<genexpr>)r<00>itemsr-rrr<00> lower_itemsLszCaseInsensitiveDict.lower_items<6D>other<65>object<63>boolcCs0t|t<01>r
t|<01>}ntSt|<00><05><00>t|<02><05><00>kSr)<06>
isinstancerr<00>NotImplemented<65>dictr6)rr7<00>
other_dictrrr<00>__eq__Ps

zCaseInsensitiveDict.__eq__<5F>CaseInsensitiveDict[_VT]cCst|j<01><02><00>Sr)rrr,r-rrr<00>copyY<00>zCaseInsensitiveDict.copycCstt|<00><02><00><01>Sr)rr<r5r-rrr<00>__repr__\r%zCaseInsensitiveDict.__repr__r)rrrr rr)rrrr rr)rrrr )rrrr)rr&)rr/)rr2)r7r8rr9)rr?<00>rr)<0F>__name__<5F>
__module__<EFBFBD> __qualname__<5F>__doc__<5F>__annotations__rr!r#r$r.r1r6r>r@rBrrrrrs
 <0C>






rcsveZdZUdZded<dd<1B>fdd<08> Zdd
d <0B>Zddd<0F>Zddd<11>Ze dddd<14><05>Z
e ddd<14><04>Z
dd dd<14>Z
<EFBFBD>Z S)!<21>
LookupDictzDictionary lookup object.r<00>nameNrrcs||_t<01><00><02>dSr)rJ<00>superr)rrJ<00><01> __class__rrreszLookupDict.__init__rcCsd|j<00>d<02>S)Nz <lookup 'z'>)rJr-rrrrBirAzLookupDict.__repr__r<00>
_VT | NonecCs0||jvr
|j|Stdt|<00>j<03>d|<01>d<01><05><01>)N<>'z' object has no attribute ')<04>__dict__<5F>AttributeError<6F>typerDr"rrr<00> __getattr__ls

<04>zLookupDict.__getattr__cCs|j<00>|d<00>Sr<00>rP<00>getr"rrrr#vszLookupDict.__getitem__<5F>defaultcC<01>dSrr<00>rrrVrrrrU{<00>zLookupDict.get<65>_D | _VTcCrWrrrXrrrrU~rY<00> _D | None<6E>_VT | _D | NonecCs|j<00>||<02>SrrTrXrrrrU<00>rAr)rJrrrrC)rrrrN)rrrVrrrN)rrrVrZrrZ)rrrVr[rr\) rDrErFrGrHrrBrSr#r
rU<00> __classcell__rrrLrrI`s



 rIN)rG<00>
__future__r<00> collectionsr<00>collections.abcrrr<00>typingrrr r
<00>compatr r rrrr<rIrrrr<00><module>s   L