Current Path: > > opt > alt > python37 > lib64 > python3.7 > wsgiref > __pycache__ >
Operation : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64 Software : Apache Server IP : 162.0.232.56 | Your IP: 216.73.216.111 Domains : 1034 Domain(s) Permission : [ 0755 ]
Name | Type | Size | Last Modified | Actions |
---|---|---|---|---|
__init__.cpython-37.opt-1.pyc | File | 735 bytes | April 17 2024 17:36:13. | |
__init__.cpython-37.opt-2.pyc | File | 142 bytes | April 17 2024 17:35:57. | |
__init__.cpython-37.pyc | File | 735 bytes | April 17 2024 17:36:18. | |
handlers.cpython-37.opt-1.pyc | File | 15847 bytes | April 17 2024 17:36:13. | |
handlers.cpython-37.opt-2.pyc | File | 10413 bytes | April 17 2024 17:35:57. | |
handlers.cpython-37.pyc | File | 16287 bytes | April 17 2024 17:36:18. | |
headers.cpython-37.opt-1.pyc | File | 7699 bytes | April 17 2024 17:36:13. | |
headers.cpython-37.opt-2.pyc | File | 4458 bytes | April 17 2024 17:35:57. | |
headers.cpython-37.pyc | File | 7756 bytes | April 17 2024 17:36:18. | |
simple_server.cpython-37.opt-1.pyc | File | 5202 bytes | April 17 2024 17:36:13. | |
simple_server.cpython-37.opt-2.pyc | File | 4425 bytes | April 17 2024 17:35:57. | |
simple_server.cpython-37.pyc | File | 5202 bytes | April 17 2024 17:36:18. | |
util.cpython-37.opt-1.pyc | File | 5177 bytes | April 17 2024 17:36:13. | |
util.cpython-37.opt-2.pyc | File | 3604 bytes | April 17 2024 17:35:57. | |
util.cpython-37.pyc | File | 5177 bytes | April 17 2024 17:36:18. | |
validate.cpython-37.opt-1.pyc | File | 14673 bytes | April 17 2024 17:36:13. | |
validate.cpython-37.opt-2.pyc | File | 11040 bytes | April 17 2024 17:35:57. | |
validate.cpython-37.pyc | File | 14673 bytes | April 17 2024 17:36:18. |
B � fn � @ 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 sX |dk rPt |�dkrP|s"t�|�rB|�dd��dd�}d| |f S d| |f S n| S dS ) 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)Zparam�valueZquote� r �4/opt/alt/python37/lib64/python3.7/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 sT |d k r|ng }t |�tk r$td��|| _x$|D ]\}}| �|� | �|� q0W d S )Nz+Headers must be a list of name/value tuples)�type�list� TypeError�_headers�_convert_string_type)�selfZheaders�k�vr r r �__init__ s zHeaders.__init__c C s&