Server IP : 15.235.198.142 / Your IP : 216.73.216.224 Web Server : Apache/2.4.58 (Ubuntu) System : Linux ballsack 6.8.0-45-generic #45-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 30 12:02:04 UTC 2024 x86_64 User : www-data ( 33) PHP Version : 8.3.6 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /lib/python3/dist-packages/requests/__pycache__/ |
Upload File : |
� �kd` � �P � d Z ddlmZ ddlmZmZ G d� de� Z G d� de� Zy ) zO requests.structures ~~~~~~~~~~~~~~~~~~~ Data structures that power Requests. � )�OrderedDict� )�Mapping�MutableMappingc �N � e Zd ZdZd d�Zd� Zd� Zd� Zd� Zd� Z d � Z d � Zd� Zd� Z y)�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 |�� y �N)r �_store�update)�self�data�kwargss �5/usr/lib/python3/dist-packages/requests/structures.py�__init__zCaseInsensitiveDict.__init__( s( � �!�m����<��D�����D�#�F�#� c �B � ||f| j |j � <