AlkantarClanX12
Current Path : /opt/alt/python34/lib64/python3.4/wsgiref/__pycache__/ |
Current File : //opt/alt/python34/lib64/python3.4/wsgiref/__pycache__/headers.cpython-34.pyo |
� i f � @ sJ d Z d d l Z e j d � Z d d d d � Z Gd d � d � Z d S) 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 | d k rp t | � d k rp | s3 t j | � r_ | j d d � j d d � } d | | f Sd | | f Sn | Sd S) 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/python34/lib64/python3.4/wsgiref/headers.py�_formatparam s r c @ s� e Z d Z d Z d d � Z d d � Z d d � Z d d � Z d d � Z d d � Z d d � Z d d � Z d d d � Z d d � Z d d � Z d d � Z d d � Z d d � Z d d � Z d! d"