403Webshell
Server IP : 156.238.232.47  /  Your IP : 216.73.216.150
Web Server : nginx/1.25.3
System : Linux C202504152095410 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
User : www ( 1000)
PHP Version : 8.3.25
Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/lib/python2.7/site-packages/requests/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/lib/python2.7/site-packages/requests/structures.pyo
�

�Tc@sEdZddlZdejfd��YZdefd��YZdS(sP
requests.structures
~~~~~~~~~~~~~~~~~~~

Data structures that power Requests.

i����NtCaseInsensitiveDictcBskeZdZdd�Zd�Zd�Zd�Zd�Zd�Z	d�Z
d�Zd	�Zd
�Z
RS(s�
    A case-insensitive ``dict``-like object.

    Implements all methods and operations of
    ``collections.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.

    cKs5t�|_|dkr!i}n|j||�dS(N(tdictt_storetNonetupdate(tselftdatatkwargs((s7/usr/lib/python2.7/site-packages/requests/structures.pyt__init__*s	cCs||f|j|j�<dS(N(Rtlower(Rtkeytvalue((s7/usr/lib/python2.7/site-packages/requests/structures.pyt__setitem__0scCs|j|j�dS(Ni(RR	(RR
((s7/usr/lib/python2.7/site-packages/requests/structures.pyt__getitem__5scCs|j|j�=dS(N(RR	(RR
((s7/usr/lib/python2.7/site-packages/requests/structures.pyt__delitem__8scCsd�|jj�D�S(Ncss|]\}}|VqdS(N((t.0tcasedkeytmappedvalue((s7/usr/lib/python2.7/site-packages/requests/structures.pys	<genexpr><s(Rtvalues(R((s7/usr/lib/python2.7/site-packages/requests/structures.pyt__iter__;scCs
t|j�S(N(tlenR(R((s7/usr/lib/python2.7/site-packages/requests/structures.pyt__len__>scCsd�|jj�D�S(s.Like iteritems(), but with all lowercase keys.css%|]\}}||dfVqdS(iN((Rtlowerkeytkeyval((s7/usr/lib/python2.7/site-packages/requests/structures.pys	<genexpr>Ds(Rtitems(R((s7/usr/lib/python2.7/site-packages/requests/structures.pytlower_itemsAscCsGt|tj�r!t|�}ntSt|j��t|j��kS(N(t
isinstancetcollectionstMappingRtNotImplementedRR(Rtother((s7/usr/lib/python2.7/site-packages/requests/structures.pyt__eq__IscCst|jj��S(N(RRR(R((s7/usr/lib/python2.7/site-packages/requests/structures.pytcopyRscCstt|j���S(N(tstrRR(R((s7/usr/lib/python2.7/site-packages/requests/structures.pyt__repr__UsN(t__name__t
__module__t__doc__RRRR
RRRRRR R"(((s7/usr/lib/python2.7/site-packages/requests/structures.pyRs									t
LookupDictcBs8eZdZdd�Zd�Zd�Zdd�ZRS(sDictionary lookup object.cCs ||_tt|�j�dS(N(tnametsuperR&R(RR'((s7/usr/lib/python2.7/site-packages/requests/structures.pyR[s	cCsd|jS(Ns
<lookup '%s'>(R'(R((s7/usr/lib/python2.7/site-packages/requests/structures.pyR"_scCs|jj|d�S(N(t__dict__tgetR(RR
((s7/usr/lib/python2.7/site-packages/requests/structures.pyR
bscCs|jj||�S(N(R)R*(RR
tdefault((s7/usr/lib/python2.7/site-packages/requests/structures.pyR*gsN(R#R$R%RRR"R
R*(((s7/usr/lib/python2.7/site-packages/requests/structures.pyR&Xs
		(R%RtMutableMappingRRR&(((s7/usr/lib/python2.7/site-packages/requests/structures.pyt<module>	sJ

Youez - 2016 - github.com/yon3zu
LinuXploit