| Server IP : 121.121.20.254 / Your IP : 216.73.216.142 Web Server : Microsoft-IIS/10.0 System : Windows NT WEB-SERVER 10.0 build 20348 (Windows Server 2022) AMD64 User : IUSR ( 0) PHP Version : 8.3.28 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/Python312/Lib/wsgiref/__pycache__/ |
Upload File : |
�
���g& � �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 �$C:\Python312\\Lib\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 ]'