| Server IP : 159.223.102.202 / Your IP : 216.73.216.195 Web Server : nginx/1.26.0 System : Linux Gen1-cloudpanel2ubuntu2404-1vcpu-1gb-nyc1-01 6.8.0-31-generic #31-Ubuntu SMP PREEMPT_DYNAMIC Sat Apr 20 00:40:06 UTC 2024 x86_64 User : albasshbotta ( 1021) PHP Version : 8.2.19 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /usr/lib/python3.12/wsgiref/__pycache__/ |
Upload File : |
�
�$fn � �P � d Z ddlZ ej d� Zdd�Z G d� d� Zy)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 � � |�Vt |� dkD rH|st j |� r*|j dd� j dd� }| �d|�d�S | �d|��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.
r �\z\\�"z\"z="�=)�len� tspecials�search�replace)�param�value�quotes �&/usr/lib/python3.12/wsgiref/headers.py�_formatparamr
s\ � �
��S��Z�!�^��I�$�$�U�+��M�M�$��/�7�7��U�C�E� %�u�-�-�#�U�+�+��� c �z � e Zd ZdZdd�Zd� Zd� Zd� Zd� Zd� Z d � Z
d
� Zdd�Zd� Z
d
� Zd� Zd� Zd� Zd� Zd� Zd� Zy)�Headersz,Manage a collection of HTTP response headersNc � � |�|ng }t |� t urt d� �|| _ |D ]'