관리-도구
편집 파일: headers.cpython-38.opt-2.pyc
U i�fn � @ s. d dl Z e �d�Zddd�ZG dd� d�ZdS ) � Nz[ \(\)<>@,;:\\"/\[\]\?=]� c C sX |d k rPt |�dkrP|s"t�|�rB|�dd��dd�}d| |f S d| |f S n| S d S )Nr �\z\\�"z\"z%s="%s"z%s=%s)�len� tspecials�search�replace)Zparam�valueZquote� r �4/opt/alt/python38/lib64/python3.8/wsgiref/headers.py�_formatparam s r c @ s� e Zd Zd$dd�Zdd� Zdd� Zdd � Zd d� Zdd � Zdd� Z dd� Z d%dd�Zdd� Zdd� Z dd� Zdd� Zdd� Zdd� Zd d!� Zd"d#� ZdS )&�HeadersNc C s. |d k r|ng }t |�tk r$td��|| _d S )Nz+Headers must be a list of name/value tuples)�type�list� TypeError�_headers)�selfZheadersr r r �__init__ s zHeaders.__init__c C s&