Module Cookie :: Class Morsel
[hide private]
[frames] | no frames]

type Morsel

object --+    
         |    
      dict --+
             |
            Morsel

Instance Methods [hide private]
new empty dictionary

__init__(self)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
 
__setitem__(self, K, V)
x[i]=y
 
isReservedKey(self, K)
 
set(self, key, val, coded_val, LegalChars='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ012345678..., idmap='\x00\x01\x02\x03\x04\x05\x06\x07\x08\t\n\x0b\x0c\r\x0e\x0f\x1..., translate=<function translate at 0x404dc1b4>)
 
output(self, attrs=None, header='Set-Cookie:')
 
__str__(self, attrs=None, header='Set-Cookie:')
 
__repr__(self)
repr(x)
 
js_output(self, attrs=None)
 
OutputString(self, attrs=None)

Inherited from dict: __cmp__, __contains__, __delitem__, __eq__, __ge__, __getattribute__, __getitem__, __gt__, __hash__, __iter__, __le__, __len__, __lt__, __ne__, __new__, clear, copy, fromkeys, get, has_key, items, iteritems, iterkeys, itervalues, keys, pop, popitem, setdefault, update, values

Class Variables [hide private]
  _reserved = {'comment': 'Comment', 'domain': 'Domain', 'expire...
Method Details [hide private]

__init__(self)
(Constructor)

 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Returns:
new empty dictionary

Overrides: dict.__init__
(inherited documentation)

__setitem__(self, K, V)
(Index assignment operator)

 

x[i]=y

Overrides: dict.__setitem__
(inherited documentation)

__str__(self, attrs=None, header='Set-Cookie:')
(Informal representation operator)

 
Overrides: object.__str__
(inherited documentation)

__repr__(self)
(Representation operator)

 

repr(x)

Overrides: dict.__repr__
(inherited documentation)

Class Variable Details [hide private]

_reserved

Value:
{'comment': 'Comment',
 'domain': 'Domain',
 'expires': 'expires',
 'max-age': 'Max-Age',
 'path': 'Path',
 'secure': 'secure',
 'version': 'Version'}