ok
Direktori : /usr/lib64/python2.7/wsgiref/ |
Current File : //usr/lib64/python2.7/wsgiref/headers.pyo |
� {fc @ s] d Z d d l m Z m Z d d l Z e j d � Z d d d � Z d d d � � YZ d S( s� 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. i����( t ListTypet TupleTypeNs [ \(\)<>@,;:\\"/\[\]\?=]i 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( s~ Convenience function to format and return a key=value pair. This will quote the value if needed or if quote is true. i s \s \\t "s \"s %s="%s"s %s=%sN( t Nonet lent tspecialst searcht replace( t paramt valuet quote( ( s'