|
Server : Apache/2.2.2 (Fedora) System : Linux App1.pathumtani.go.th 2.6.20-1.2320.fc5smp #1 SMP Tue Jun 12 19:40:16 EDT 2007 i686 User : apache ( 48) PHP Version : 5.2.9 Disable Function : NONE Directory : /proc/self/root/usr/lib/python2.4/site-packages/mod_python/ |
Upload File : |
mò A™áCc @ sÕ d Z d k Z d k Z d k Z d k Z d k Z d e f d „ ƒ YZ d e f d „ ƒ YZ d e f d „ ƒ YZ d e f d „ ƒ YZ d e f d „ ƒ YZ e i d ƒ Z d „ Z d d „ Z e d „ Z d S( s™ This module contains classes to support HTTP State Management Mechanism, also known as Cookies. The classes provide simple ways for creating, parsing and digitally signing cookies, as well as the ability to store simple Python objects in Cookies (using marshalling). The behaviour of the classes is designed to be most useful within mod_python applications. The current state of HTTP State Management standardization is rather unclear. It appears that the de-facto standard is the original Netscape specification, even though already two RFC's have been put out (RFC2109 (1997) and RFC2965 (2000)). The RFC's add a couple of useful features (e.g. using Max-Age instead of Expires, but my limited tests show that Max-Age is ignored by the two browsers tested (IE and Safari). As a result of this, perhaps trying to be RFC-compliant (by automatically providing Max-Age and Version) could be a waste of cookie space... Nt CookieErrorc B s t Z RS( N( t __name__t __module__( ( ( t5 /usr/lib/python2.4/site-packages/mod_python/Cookie.pyR 3 s t metaCookiec B s t Z d „ Z RS( Nc C se d } | d } | | d <| | d <d „ } d „ } t d | d | ƒ | d <t i | | | | ƒ S( Nt versiont patht domaint securet commentt expirest max_aget commentURLt discardt portt namet valuet _valuet _expirest __data__t _valid_attrt __slots__c C s— t | ƒ t d ƒ j oL y t i | d ƒ } Wn t j o t d | ‚ n Xt i | ƒ } n"