Module _LWPCookieJar
[hide private]
[frames] | no frames]

Module _LWPCookieJar

Load / save to libwww-perl (LWP) format files.

Actually, the format is slightly extended from that used by LWP's (libwww-perl's) HTTP::Cookies, to avoid losing some RFC 2965 information not recorded by LWP.

It uses the version string "2.0", though really there isn't an LWP Cookies 2.0 format. This indicates that there is extra information in here (domain_dot and # port_spec) while still being compatible with libwww-perl, I hope.

Classes [hide private]
LWPCookieJar
The LWPCookieJar saves a sequence of"Set-Cookie3" lines.
Functions [hide private]
 
lwp_cookie_str(cookie)
Return string representation of Cookie in an the LWP cookie file format.

Imports: time, re, _warn_unhandled_exception, FileCookieJar, LoadError, Cookie, MISSING_FILENAME_TEXT, join_header_words, split_header_words, iso2time, time2isoz


Function Details [hide private]

lwp_cookie_str(cookie)

 

Return string representation of Cookie in an the LWP cookie file format.

Actually, the format is extended a bit -- see module docstring.