|
Server : Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 DAV/2 PHP/5.2.17 System : Linux localhost 2.6.18-419.el5 #1 SMP Fri Feb 24 22:47:42 UTC 2017 x86_64 User : nobody ( 99) PHP Version : 5.2.17 Disable Function : NONE Directory : /proc/21573/task/21573/root/proc/21572/root/usr/lib64/python2.4/ |
Upload File : |
mò
‚=5Dc @ s` d Z d k Z d k Z d k Z d k l Z l Z l Z l Z l Z d e f d „ ƒ YZ
d S( s+ Mozilla / Netscape cookie loading / saving.N( s reraise_unmasked_exceptionss
FileCookieJars LoadErrors Cookies MISSING_FILENAME_TEXTt MozillaCookieJarc B s5 t Z d Z d Z d Z d „ Z e e e d „ Z RS( s’
WARNING: you may want to backup your browser's cookies file if you use
this class to save cookies. I *think* it works, but there have been
bugs in the past!
This class differs from CookieJar only in the format it uses to save and
load cookies to and from a file. This class uses the Mozilla/Netscape
`cookies.txt' format. lynx uses this file format, too.
Don't expect cookies saved while the browser is running to be noticed by
the browser (in fact, Mozilla on unix will overwrite your saved cookies if
you change them on disk while it's running; on Windows, you probably can't
save at all while the browser is running).
Note that the Mozilla/Netscape format will downgrade RFC2965 cookies to
Netscape cookies on saving.
In particular, the cookie version and port number information is lost,
together with information about whether or not Path, Port and Discard were
specified by the Set-Cookie2 (or Set-Cookie) header, and whether or not the
domain as set in the HTTP header started with a dot (yes, I'm aware some
domains in Netscape files start with a dot and some don't -- trust me, you
really don't want to know any more about this).
Note that though Mozilla and Netscape use the same format, they use
slightly different headers. The class saves cookies using the Netscape
header by default (Mozilla can cope with that).
s #( Netscape)? HTTP Cookie FilesŠ # Netscape HTTP Cookie File
# http://www.netscape.com/newsref/std/cookie_spec.html
# This is a generated file! Do not edit.
c C s t i ƒ } | i ƒ }
t i | i |
ƒ p | i ƒ t
d | ƒ ‚ n y—x| i ƒ } | d j o Pn | i
d ƒ o | d } n | i ƒ i d ƒ p) | i ƒ i d ƒ p | i ƒ d j o qR n | i d ƒ \ } } } } } } } | d j } | d j } | d j o | } d } n | i d
ƒ } t } | d j o d } t } n t d | | d t | | | | t | | | d d h ƒ }
| o |
i o qR n | o |
i! | ƒ o qR n | i"