Module headers
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.
Headers
Manage a collection of HTTP response headers
|
|
_formatparam(param,
value=None,
quote=1)
Convenience function to format and return a key=value pair. |
|
|
|
tspecials = re.compile(r'[ \(\)<>@,;:\\"/\[\]\?=] ')
|
Imports:
ListType,
TupleType,
re
_formatparam(param,
value=None,
quote=1)
|
|
Convenience function to format and return a key=value pair.
This will quote the value if needed or if quote is true.
|