Tryag File Manager
Home
-
Turbo Force
Current Path :
/
proc
/
self
/
root
/
usr
/
lib
/
python2.4
/
Upload File :
New :
File
Dir
//proc/self/root/usr/lib/python2.4/_MozillaCookieJar.pyc
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 ƒ } | | j p t ‚ t } | d j o d } t } n t d | | d t | | | | t | | | d d h ƒ } | o | i o qR n | o | i"