ROOTPLOIT
Server: LiteSpeed
System: Linux server71.web-hosting.com 4.18.0-513.18.1.lve.el8.x86_64 #1 SMP Thu Feb 22 12:55:50 UTC 2024 x86_64
User: niphet (1079)
PHP: 5.3.29
Disabled: NONE
Upload Files
File: //lib/python3.6/site-packages/requests/__pycache__/structures.cpython-36.pyc
3

æÈ[¥ã@s<dZddlmZmZmZGdd„deƒZGdd„deƒZdS)zO
requests.structures
~~~~~~~~~~~~~~~~~~~

Data structures that power Requests.
é)ÚOrderedDictÚMappingÚMutableMappingc@sbeZdZdZddd„Zdd„Zdd„Zd	d
„Zdd„Zd
d„Z	dd„Z
dd„Zdd„Zdd„Z
dS)ÚCaseInsensitiveDictaÖ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.
    NcKs&tƒ|_|dkri}|j|f|ŽdS)N)rÚ_storeÚupdate)ÚselfÚdataÚkwargs©rú /usr/lib/python3.6/structures.pyÚ__init__(szCaseInsensitiveDict.__init__cCs||f|j|jƒ<dS)N)rÚlower)rÚkeyÚvaluerrrÚ__setitem__.szCaseInsensitiveDict.__setitem__cCs|j|jƒdS)Nr)rr)rrrrrÚ__getitem__3szCaseInsensitiveDict.__getitem__cCs|j|jƒ=dS)N)rr)rrrrrÚ__delitem__6szCaseInsensitiveDict.__delitem__cCsdd„|jjƒDƒS)Ncss|]\}}|VqdS)Nr)Ú.0ZcasedkeyZmappedvaluerrrú	<genexpr>:sz/CaseInsensitiveDict.__iter__.<locals>.<genexpr>)rÚvalues)rrrrÚ__iter__9szCaseInsensitiveDict.__iter__cCs
t|jƒS)N)Úlenr)rrrrÚ__len__<szCaseInsensitiveDict.__len__cCsdd„|jjƒDƒS)z.Like iteritems(), but with all lowercase keys.css|]\}}||dfVqdS)rNr)rZlowerkeyZkeyvalrrrrBsz2CaseInsensitiveDict.lower_items.<locals>.<genexpr>)rÚitems)rrrrÚlower_items?szCaseInsensitiveDict.lower_itemscCs0t|tƒrt|ƒ}ntSt|jƒƒt|jƒƒkS)N)Ú
isinstancerrÚNotImplementedÚdictr)rÚotherrrrÚ__eq__Gs

zCaseInsensitiveDict.__eq__cCst|jjƒƒS)N)rrr)rrrrÚcopyPszCaseInsensitiveDict.copycCstt|jƒƒƒS)N)Ústrrr)rrrrÚ__repr__SszCaseInsensitiveDict.__repr__)N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r
rrrrrrr r!r#rrrrr
s
	rcs<eZdZdZd‡fdd„	Zdd„Zdd„Zdd	d
„Z‡ZS)
Ú
LookupDictzDictionary lookup object.Ncs||_tt|ƒjƒdS)N)ÚnameÚsuperr(r
)rr))Ú	__class__rrr
ZszLookupDict.__init__cCs
d|jS)Nz
<lookup '%s'>)r))rrrrr#^szLookupDict.__repr__cCs|jj|dƒS)N)Ú__dict__Úget)rrrrrraszLookupDict.__getitem__cCs|jj||ƒS)N)r,r-)rrÚdefaultrrrr-fszLookupDict.get)N)N)	r$r%r&r'r
r#rr-Ú
__classcell__rr)r+rr(Ws
r(N)r'Úcompatrrrrrr(rrrrÚ<module>sJ