Your IP : 3.147.78.185
�
�Rec @ s\ d Z d d l m Z d d l m Z m Z d e f d � � YZ d e f d � � YZ d S(
sO
requests.structures
~~~~~~~~~~~~~~~~~~~
Data structures that power Requests.
i����( t OrderedDicti ( t Mappingt MutableMappingt CaseInsensitiveDictc B sk e Z d Z d d � Z d � Z d � Z d � Z d � Z d � Z d � Z
d � Z d � Z d
� Z
RS( s� 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.
c K s5 t � | _ | d k r! i } n | j | | � d S( N( R t _storet Nonet update( t selft datat kwargs( ( s� /builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/requests/structures.pyt __init__* s c C s | | f | j | j � <d S( N( R t lower( R t keyt value( ( s� /builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/requests/structures.pyt __setitem__0 s c C s | j | j � d S( Ni ( R R ( R R ( ( s� /builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/requests/structures.pyt __getitem__5 s c C s | j | j � =d S( N( R R ( R R ( ( s� /builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/requests/structures.pyt __delitem__8 s c C s d � | j j � D� S( Nc s s | ] \ } } | Vq d S( N( ( t .0t casedkeyt mappedvalue( ( s� /builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/requests/structures.pys <genexpr><