$56 GRAYBYTE WORDPRESS FILE MANAGER $27

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 104.21.43.35 | ADMIN IP 216.73.216.180
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : mail

/opt/alt/python313/lib64/python3.13/wsgiref/__pycache__/

HOME
Current File : /opt/alt/python313/lib64/python3.13/wsgiref/__pycache__//headers.cpython-313.opt-1.pyc
�

D,bin��R�SrSSKr\R"S5rSSjr"SS5rg)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���Ube[U5S:�aVU(d[RU5(a,URSS5RSS5nU<SU<S3$U<SU<3$U$)zvConvenience function to format and return a key=value pair.

This will quote the value if needed or if quote is true.
r�\z\\�"z\"z="�=)�len�	tspecials�search�replace)�param�value�quotes   �6/opt/alt/python313/lib64/python3.13/wsgiref/headers.py�_formatparamr
s_��

��S��Z�!�^��I�$�$�U�+�+��M�M�$��/�7�7��U�C�E� %�u�-�-�#�U�+�+���c��\rSrSrSrSSjrSrSrSrSr	S	r
S
rSrSSjr
S
rSrSrSrSrSrSrSrSrg)�Headers�z,Manage a collection of HTTP response headersNc�X�UbUO/n[U5[La[S5eXlg)Nz+Headers must be a list of name/value tuples)�type�list�	TypeError�_headers�_convert_string_type)�self�headers�k�vs    r�__init__�Headers.__init__s.��$�0�'�b����=��$��I�J�J��
�rc�p�[U5[LaU$[SR[	U555e)zConvert/check value type.z1Header names/values must be of type str (got {0}))r�str�AssertionError�format�repr)rrs  rr�Headers._convert_string_type)s3����;�#���L��%�%+�V�D��K�%8�:�	:rc�,�[UR5$)z9Return the total number of headers, including duplicates.)rr�rs r�__len__�Headers.__len__0s���4�=�=�!�!rc�~�X	URRURU5URU545 g)zSet the value of a header.N)r�appendr)r�name�vals   r�__setitem__�Headers.__setitem__4s8���J��
�
���
�
&�
&�t�
,�d�.G�.G��.L�M�	Orc���URUR55nURVs/sHo"SR5U:wdMUPM snURSS&gs snf)ziDelete all occurrences of a header, if present.

Does *not* raise an exception if the header is missing.
rN�r�lowerr�rr,�kvs   r�__delitem__�Headers.__delitem__:sM��
�(�(�����6��)-���P��2�Q�%�+�+�-�4�:O�B��P��
�
�a���Ps�A#�A#c�$�URU5$)a Get the first header value for 'name'

Return None if the header is missing instead of raising an exception.

Note that if the header appeared multiple times, the first exactly which
occurrence gets returned is undefined.  Use getall() to get all
the values matching a header field name.
��get�rr,s  r�__getitem__�Headers.__getitem__Bs���x�x��~�rc�(�URU5SL$)z/Return true if the message contains the header.Nr8r:s  r�__contains__�Headers.__contains__Ms���x�x��~�T�)�)rc��URUR55nURVs/sH o"SR5U:XdMUSPM" sn$s snf)aIReturn a list of all the values for the named field.

These will be sorted in the order they appeared in the original header
list or were added to this instance, and may contain duplicates.  Any
fields deleted and re-inserted are always appended to the header list.
If no fields exist with the given name, returns an empty list.
r�r1r3s   r�get_all�Headers.get_allRsK���(�(�����6�� $�
�
�E�
�"�A������1D���1��
�E�E��Es�A�	Ac��URUR55nURHup4UR5U:XdMUs $ U$)z:Get the first header value for 'name', or return 'default'r1)rr,�defaultrrs     rr9�Headers.get^sA���(�(�����6���=�=�C�A��w�w�y�$����!��rc�P�URVVs/sHupUPM	 snn$s snnf)aReturn a list of all the header field names.

These will be sorted in the order they appeared in the original header
list, or were added to this instance, and may contain duplicates.
Any fields deleted and re-inserted are always appended to the header
list.
�r�rrrs   r�keys�Headers.keysg�"��#�m�m�,�m�d�a��m�,�,��,��"c�P�URVVs/sHupUPM	 snn$s snnf)z�Return a list of all header values.

These will be sorted in the order they appeared in the original header
list, or were added to this instance, and may contain duplicates.
Any fields deleted and re-inserted are always appended to the header
list.
rHrIs   r�values�Headers.valuesqrLrMc� �URSS$)z�Get all the header fields and values.

These will be sorted in the order they were in the original header
list, or were added to this instance, and may contain duplicates.
Any fields deleted and re-inserted are always appended to the header
list.
NrHr's r�items�
Headers.items{s���}�}�Q��rc�R�URR<SUR<S3$)N�(�))�	__class__�__name__rr's r�__repr__�Headers.__repr__�s���>�>�2�2�D�M�M�B�Brc�t�SRURVs/sHnSU-PM
 snSS/-5$s snf)zcstr() returns the formatted headers, complete with end line,
suitable for direct HTTP transmission.z
z%s: %s�)�joinr)rr4s  r�__str__�Headers.__str__�s6���{�{�D�M�M�B�M�b�H�r�M�M�B�B�r�7�J�K�K��Bs�5c�6�[U5RS5$)Nz
iso-8859-1)r!�encoder's r�	__bytes__�Headers.__bytes__�s���4�y����-�-rc��URU5nUc=URRURU5URU545 U$U$)z�Return first matching header value for 'name', or 'value'

If there is no header named 'name', add a new header with name 'name'
and value 'value'.)r9rr+r)rr,r�results    r�
setdefault�Headers.setdefault�sR��
���$����>��M�M� � �$�";�";�D�"A��)�)�%�0�"2�
3��L��Mrc	���/nUb"URU5nURU5 UR5HxupVURU5nUc#URURSS55 M<URU5nUR[	URSS5U55 Mz UR
RURU5SR
U545 g)aExtended header setting.

_name is the header field to add.  keyword arguments can be used to set
additional parameters for the header field, with underscores converted
to dashes.  Normally the parameter will be added as key="value" unless
value is None, in which case only the key will be added.

Example:

h.add_header('content-disposition', 'attachment', filename='bud.gif')

Note that unlike the corresponding 'email.message' method, this does
*not* handle '(charset, language, value)' tuples: all values must be
strings or None.
N�_�-z; )rr+rRr
rrr])r�_name�_value�_params�partsrrs       r�
add_header�Headers.add_header�s��� �����.�.�v�6�F��L�L�� ��M�M�O�D�A��)�)�!�,�A��y����Q�Y�Y�s�C�0�1��-�-�a�0�����\�!�)�)�C��*=�q�A�B�
$�	
�
�
���d�7�7��>��	�	�%�@P�Q�RrrH)N)rX�
__module__�__qualname__�__firstlineno__�__doc__rrr(r.r5r;r>rBr9rJrOrRrYr^rbrfro�__static_attributes__�rrrrs`��6�-�:�"�O�Q�	�*�
	F��-�-� �C�L�
.��Srr)NrA)rt�re�compilerrrrvrr�<module>rys1���
��J�J�2�3�	��\S�\Sr


Current_dir [ NOT WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
10 Feb 2026 9.35 AM
root / linksafe
0755
__init__.cpython-313.opt-1.pyc
0.803 KB
10 Jan 2026 10.44 AM
root / linksafe
0644
__init__.cpython-313.opt-2.pyc
0.148 KB
10 Jan 2026 10.44 AM
root / linksafe
0644
__init__.cpython-313.pyc
0.803 KB
10 Jan 2026 10.44 AM
root / linksafe
0644
handlers.cpython-313.opt-1.pyc
22.703 KB
10 Jan 2026 10.44 AM
root / linksafe
0644
handlers.cpython-313.opt-2.pyc
17.862 KB
10 Jan 2026 10.44 AM
root / linksafe
0644
handlers.cpython-313.pyc
23.146 KB
10 Jan 2026 10.44 AM
root / linksafe
0644
headers.cpython-313.opt-1.pyc
9.084 KB
10 Jan 2026 10.44 AM
root / linksafe
0644
headers.cpython-313.opt-2.pyc
6.262 KB
10 Jan 2026 10.44 AM
root / linksafe
0644
headers.cpython-313.pyc
9.213 KB
10 Jan 2026 10.44 AM
root / linksafe
0644
simple_server.cpython-313.opt-1.pyc
7.964 KB
10 Jan 2026 10.44 AM
root / linksafe
0644
simple_server.cpython-313.opt-2.pyc
7.207 KB
10 Jan 2026 10.44 AM
root / linksafe
0644
simple_server.cpython-313.pyc
7.964 KB
10 Jan 2026 10.44 AM
root / linksafe
0644
types.cpython-313.opt-1.pyc
3.824 KB
10 Jan 2026 10.44 AM
root / linksafe
0644
types.cpython-313.opt-2.pyc
3.551 KB
10 Jan 2026 10.44 AM
root / linksafe
0644
types.cpython-313.pyc
3.824 KB
10 Jan 2026 10.44 AM
root / linksafe
0644
util.cpython-313.opt-1.pyc
6.809 KB
10 Jan 2026 10.44 AM
root / linksafe
0644
util.cpython-313.opt-2.pyc
5.342 KB
10 Jan 2026 10.44 AM
root / linksafe
0644
util.cpython-313.pyc
6.809 KB
10 Jan 2026 10.44 AM
root / linksafe
0644
validate.cpython-313.opt-1.pyc
20.133 KB
10 Jan 2026 10.44 AM
root / linksafe
0644
validate.cpython-313.opt-2.pyc
16.617 KB
10 Jan 2026 10.44 AM
root / linksafe
0644
validate.cpython-313.pyc
20.133 KB
10 Jan 2026 10.44 AM
root / linksafe
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF