Methods
# case-insensitive 'key in dict' lookup
# case-insensitive deletion: removes entire list
# case-insensitive lookup
# case-insensitive 'for key in dict' iteration
# case-insensitive storage; appends to a list
get(
self,
key,
default=None)
# retrieve a value or default if no such key
# case-insensitive key lookup
# case-insensitive 'for key in dict' iteration
# return a terse dictionary (duplicate headers in one comma-separated string)
# this is for compatibility with functions want to read the header values as
# a single string rather than as a python list of strings
# append another dict or HeaderDict
Methods inherited from class __builtin__.dict
__cmp__, __eq__, __ge__, __getattribute__, __gt__, __hash__, __le__, __len__, __lt__, __ne__, __new__, clear, copy, items, itervalues, pop, popitem, setdefault, values
Methods inherited from class __builtin__.object
__delattr__, __reduce__, __reduce_ex__, __setattr__
Fields
__dict__ = <attribute '__dict__' of 'HeaderDict' objects>
dictionary for instance variables (if defined)
__weakref__ = <attribute '__weakref__' of 'HeaderDict' objects>
list of weak references to the object (if defined)
forceCaps = {'content-md5': 'Content-MD5', 'etag': 'ETag', 'te': 'TE', 'www-authenticate': 'WWW-Authenticate'}
Fields
Fields