4Suite API Documentation

Module Ft.Server.Server.Http.HeaderDict

######################################################################## # $Header: /var/local/cvsroot/4Suite/Ft/Server/Server/Http/HeaderDict.py,v 1.6 2005/03/06 03:53:55 mbrown Exp $
Classes:
Fields:

Classes

class HeaderDict(__builtin__.dict)

Methods

__contains__(self, key)
# case-insensitive 'key in dict' lookup
__delitem__(self, key)
# case-insensitive deletion: removes entire list
__getitem__(self, key)
# case-insensitive lookup
__init__(self, obj=None)
__iter__(self)
# case-insensitive 'for key in dict' iteration
__repr__(self)
# string representations
__setitem__(self, key, value)
# case-insensitive storage; appends to a list
__str__(self)
get(self, key, default=None)
# retrieve a value or default if no such key
has_key(self, key)
# case-insensitive key lookup
iteritems(self)
# case-insensitive 'for key in dict' iteration
keys(self)
# normalize key names
terse(self)
# 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
update(self, dict_)
# 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

Fields

generators = _Feature((2, 2, 0, 'alpha', 1), (2, 3, 0, 'final', 0), 4096)