1.2.2.4. cookies – Automatic Handling of Browser Cookies

class lib.browser.plugins.cookies.CookieBrowserPlugin

Adds a handler to a lib.browser.Browser for cookies. Recieving and sending cookies then happens in a automatic fashion.

__init__()

Creates a new plugin with an empty jar.

cookie_jar(plugin, browser)

Adds the property cookie_jar to the browser, allowing you to get the handler’s http.cookiejar.CookieJar instance.

Previous topic

1.2.2.3. redirect – Base Plugin Class for Handling Redirections

Next topic

1.2.2.5. useragent – HTTP user-agent Spoofing

This Page