WebKit.Cookie | index /usr/local/share/webware/WebKit/Cookie.py

Modules
`` |  |
Cookie | imp | os | sys

Classes
`` |  | __builtin__.object Cookie
class Cookie(__builtin__.object)
`` | `Delicious cookies. Cookie is used to create cookies that have additional attributes beyond their value. Note that web browsers don't typically send any information with the cookie other than its value. Therefore `HTTPRequest.cookie` simply returns a value such as an integer or a string. When the server sends cookies back to the browser, it can send a cookie that simply has a value, or the cookie can be accompanied by various attributes (domain, path, max-age, ...) as described in `RFC 2109`_. Therefore, in HTTPResponse, `setCookie` can take either an instance of the Cookie class, as defined in this module, or a value. Note that Cookies values get pickled (see the `pickle` module), so you can set and get cookies that are integers, lists, dictionaries, etc. .. _`RFC 2109`: ftp://ftp.isi.edu/in-notes/rfc2109.txt`
| Methods defined here: __init__(self, name, value) `Create a cookie. Properties other than `name` and `value` are set with methods.` __repr__(self) comment(self) delete(self) `Delete a cookie. When sent, this should delete the cookie from the user's browser, by making it empty, expiring it in the past, and setting its max-age to 0. One of these will delete the cookie for any browser (which one actually works depends on the browser).` domain(self) expires(self) headerValue(self) `Return header value. Returns a string with the value that should be used in the HTTP headers.` isSecure(self) maxAge(self) name(self) path(self) setComment(self, comment) setDomain(self, domain) setExpires(self, expires) setMaxAge(self, maxAge) setPath(self, path) setSecure(self, secure=True) setValue(self, value) setVersion(self, version) value(self) version(self) Data descriptors defined here: __dict__ `dictionary for instance variables (if defined)` __weakref__ `list of weak references to the object (if defined)`

Data
`` |  | description = ('.py', 'U', 1) dir = '.' file = <closed file '/usr/local/lib/python2.7/Cookie.py', mode 'U'> path = ['/usr/local/share/webware', '/usr/local/lib/python27.zip', '/usr/local/lib/python2.7', '/usr/local/lib/python2.7/plat-freebsd9', '/usr/local/lib/python2.7/lib-tk', '/usr/local/lib/python2.7/lib-old', '/usr/local/lib/python2.7/lib-dynload', '/usr/local/lib/python2.7/site-packages'] pathname = '/usr/local/lib/python2.7/Cookie.py' thisDir = '/usr/local/share/webware/WebKit'