Python Paste


Cookie

Object that represents a cookie meant to be set. This is like the standard Cookie.SimpleCookie object, only slightly nicer -- each cookie object is just one name=value setting, and dates can be given as a few special values ('ONCLOSE', 'NOW', 'NEVER', and timeinterval strings like '1w').


Methods

f __init__(self, name, value, path, expires=None, secure=False) ...

f header(self) ...

See the source for more information.