Linux cpanel.rrshost.in 5.15.0-25-generic #25-Ubuntu SMP Wed Mar 30 15:54:22 UTC 2022 x86_64
Apache
: 109.123.238.221 | : 172.70.178.45
128 Domain
8.2.28
aev999
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
usr /
lib /
python3.10 /
wsgiref /
__pycache__ /
[ HOME SHELL ]
Name
Size
Permission
Action
__init__.cpython-310.pyc
727
B
-rw-r--r--
handlers.cpython-310.pyc
16.01
KB
-rw-r--r--
headers.cpython-310.pyc
7.53
KB
-rw-r--r--
simple_server.cpython-310.pyc
5.18
KB
-rw-r--r--
util.cpython-310.pyc
5.28
KB
-rw-r--r--
validate.cpython-310.pyc
14.25
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : headers.cpython-310.pyc
o }�5hn � @ s2 d Z ddlZe�d�Zd dd�ZG dd� d�ZdS ) z�Manage HTTP Response Headers Much of this module is red-handedly pilfered from email.message in the stdlib, so portions are Copyright (C) 2001,2002 Python Software Foundation, and were written by Barry Warsaw. � Nz[ \(\)<>@,;:\\"/\[\]\?=]� c C sR |dur't |�dkr'|st�|�r!|�dd��dd�}d| |f S d| |f S | S ) z~Convenience function to format and return a key=value pair. This will quote the value if needed or if quote is true. Nr �\z\\�"z\"z%s="%s"z%s=%s)�len� tspecials�search�replace)�param�value�quote� r �&/usr/lib/python3.10/wsgiref/headers.py�_formatparam s r c @ s� e Zd ZdZd%dd�Zdd� Zdd� Zd d � Zdd� Zd d� Z dd� Z dd� Zd%dd�Zdd� Z dd� Zdd� Zdd� Zdd� Zdd � Zd!d"� Zd#d$� ZdS )&�Headersz,Manage a collection of HTTP response headersNc C sR |d ur|ng }t |�turtd��|| _ |D ]\}}| �|� | �|� qd S )Nz+Headers must be a list of name/value tuples)�type�list� TypeError�_headers�_convert_string_type)�self�headers�k�vr r r �__init__ s �zHeaders.__init__c C s"