Lines Matching defs:Headers
1 """Manage HTTP Response Headers
30 class Headers:
32 """Manage a collection of HTTP response headers"""
34 def __init__(self,headers):
35 if type(headers) is not ListType:
36 raise TypeError("Headers must be a list of name/value tuples")
37 self._headers = headers
40 """Return the total number of headers, including duplicates."""
126 return "Headers(%r)" % self._headers
129 """str() returns the formatted headers, complete with end line,