Pluggdapps

Component system. Web framework. And more ...

cookie – HTTP Cookie plugin.

Module contents

class pluggdapps.web.cookie.HTTPCookie(pa, *args, **kwargs)[source]

Bases: pluggdapps.plugin.Plugin

Cookie handling plugin. This plugin uses python standard library’s http.cookies module to process request and response cookies. Refer to pluggdapps.web.interfaces.IHTTPCookie interface spec. to understand the general intent and purpose this plugin.

parse_cookies(headers)[source]

pluggdapps.web.interfaces.IHTTPCookie.parse_cookies() interface method.

pluggdapps.web.interfaces.IHTTPCookie.set_cookie() interface method.

create_signed_value(name, value)[source]

pluggdapps.web.interfaces.IHTTPCookie.set_cookie() interface method.

decode_signed_value(name, signedval)[source]

pluggdapps.web.interfaces.IHTTPCookie.set_cookie() interface method.