Module _LWPCookieJar :: Class LWPCookieJar
[hide private]
[frames] | no frames]

_ClassType LWPCookieJar

cookielib.CookieJar --+    
                      |    
cookielib.FileCookieJar --+
                          |
                         LWPCookieJar

The LWPCookieJar saves a sequence of"Set-Cookie3" lines. "Set-Cookie3" is the format used by the libwww-perl libary, not known to be compatible with any browser, but which is easy to read and doesn't lose information about RFC 2965 cookies.

Additional methods

as_lwp_str(ignore_discard=True, ignore_expired=True)

Instance Methods [hide private]
 
as_lwp_str(self, ignore_discard=True, ignore_expires=True)
Return cookies as a string of " "-separated "Set-Cookie3" headers.
 
save(self, filename=None, ignore_discard=False, ignore_expires=False)
Save cookies to a file.
 
_really_load(self, f, filename, ignore_discard, ignore_expires)

Inherited from cookielib.FileCookieJar: __init__, load, revert

Inherited from cookielib.CookieJar: __iter__, __len__, __repr__, __str__, add_cookie_header, clear, clear_expired_cookies, clear_session_cookies, extract_cookies, make_cookies, set_cookie, set_cookie_if_ok, set_policy

Class Variables [hide private]

Inherited from cookielib.CookieJar: domain_re, dots_re, magic_re, non_word_re, quote_re, strict_domain_re

Method Details [hide private]

as_lwp_str(self, ignore_discard=True, ignore_expires=True)

 
Return cookies as a string of "
"-separated "Set-Cookie3" headers.

        ignore_discard and ignore_expires: see docstring for FileCookieJar.save

        

save(self, filename=None, ignore_discard=False, ignore_expires=False)

 

Save cookies to a file.

Overrides: cookielib.FileCookieJar.save
(inherited documentation)