ok
Direktori : /opt/imunify360/venv/lib/python3.11/site-packages/requests/__pycache__/ |
Current File : //opt/imunify360/venv/lib/python3.11/site-packages/requests/__pycache__/structures.cpython-311.pyc |
� m��f� � �^ � d Z ddlmZ ddlmZmZ G d� de� � Z G d� de� � Zd S ) zO requests.structures ~~~~~~~~~~~~~~~~~~~ Data structures that power Requests. � )�OrderedDict� )�Mapping�MutableMappingc �P � e Zd ZdZd d�Zd� Zd� Zd� Zd� Zd� Z d � Z d � Zd� Zd� 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. Nc �P � t � � | _ |�i } | j |fi |�� d S �N)r �_store�update)�self�data�kwargss �J/opt/imunify360/venv/lib64/python3.11/site-packages/requests/structures.py�__init__zCaseInsensitiveDict.__init__* s7 � �!�m�m����<��D����D�#�#�F�#�#�#�#�#� c �B � ||f| j |� � � <