/usr/lib64/python2.6/site-packages/mx/Misc
NameSizeModeActions
Cache.py67380644editdlrm
Cache.pyc64820644editdlrm
Cache.pyo64820644editdlrm
CommandLine.py187060644editdlrm
CommandLine.pyc183610644editdlrm
CommandLine.pyo183610644editdlrm
ConfigFile.py295410644editdlrm
ConfigFile.pyc330040644editdlrm
ConfigFile.pyo330040644editdlrm
Cookie.py56250644editdlrm
Cookie.pyc57070644editdlrm
Cookie.pyo57070644editdlrm
COPYRIGHT10300644editdlrm
CSV.py185200644editdlrm
CSV.pyc181440644editdlrm
CSV.pyo181440644editdlrm
ExitFunctions.py23080644editdlrm
ExitFunctions.pyc28600644editdlrm
ExitFunctions.pyo28600644editdlrm
FileLock.py124190644editdlrm
FileLock.pyc120250644editdlrm
FileLock.pyo120250644editdlrm
LazyModule.py44000644editdlrm
LazyModule.pyc42440644editdlrm
LazyModule.pyo42440644editdlrm
LICENSE45870644editdlrm
Namespace.py154550644editdlrm
Namespace.pyc180510644editdlrm
Namespace.pyo180510644editdlrm
OrderedMapping.py131070644editdlrm
OrderedMapping.pyc150530644editdlrm
OrderedMapping.pyo150530644editdlrm
PackageTools.py116810644editdlrm
PackageTools.pyc113460644editdlrm
PackageTools.pyo113460644editdlrm
__init__.py00644editdlrm
__init__.pyc1410644editdlrm
__init__.pyo1410644editdlrm
Edit: /usr/lib64/python2.6/site-packages/mx/Misc/Cookie.pyc (5707B)
Ñò Ò9?c @s1dZddkZddklZlZlZdZdZddd„ƒYZei ei ei ei ei eid„ZeZed jo ed d d d ddddƒZeGHeiƒZeeƒZeGHeed ƒZeGHHed d ddƒZeiƒGHeiƒZeeƒZeiƒGHndS(s Cookie -- Create sendable Netscape Cookies. Needs mxDateTime, mxURL and mxTextTools. Copyright (c) 2000, Marc-Andre Lemburg; All Rights Reserved. See the documentation for further information on copyrights, or contact the author. All Rights Reserved. iÿÿÿÿN(tDateTimetURLt TextToolss1.2itCookiecBsžeZdZd ZdZdZdZd d d d d„Ze i e i e i eid„ZeZd„ZeZe i d„Zd d„Zd „Zd „ZRS( s2 Cookie object, cf. Netscape's specification. t/ticCsÍ||_||_|dj ont|tiƒo|iƒ|_qt|tiƒotiƒ||_qtiƒ|ti |_n|o ||_ n|o ||_ n|o d|_ ndS(s Create a Netscape cookie for name with the given value. If expires is given, the cookie will be a temporary cookie which expires after a certain amount of time. expires may be given as integer (seconds relative to the current time), DateTime instance (absolute date/time) or RelativeDateTime instance (relative date/time to current time). path, domain, secure work according to the Netscape specification. iN( tnametvaluetNonet isinstanceRt DateTimeTypetgmtimetexpirestRelativeDateTimet oneSecondtpathtdomaintsecure(tselfRRR RRR((s4/usr/lib64/python2.6/site-packages/mx/Misc/Cookie.pyt__init__s      cCs¤d|i||iƒfd|ig}|idj o!|id|iidƒƒn|io|id|iƒn|io|idƒn||dƒS(Ns%s=%sspath=%ss expires=%ss%a, %d %b %Y %H:%M:%S GMTs domain=%sRt;( RRRR RtappendtstrftimeRR(RtnowRt urlencodetjointl((s4/usr/lib64/python2.6/site-packages/mx/Misc/Cookie.pytheader_content?s   cCsd|iƒS(NsSet-Cookie: %s (R(R((s4/usr/lib64/python2.6/site-packages/mx/Misc/Cookie.pytset_cookie_headerSscCsd|i||iƒfS(NsCookie: %s=%s (RR(RR((s4/usr/lib64/python2.6/site-packages/mx/Misc/Cookie.pyt cookie_headerZscCs×ti|ƒ}|idj oF|djotiƒ}n|i|joto dGHndSnti|i|ifƒdjoto dGHndSti |i |i fƒdjoto dGHndSdS(sú Return 1/0 depending on whether the Cookie matches the given url or not. datetime is used to check for expiration in case the Cookie is a temporary one. It defaults to the current date/time. texpiredispath does not matchsdomain does not matchiN( RR RRRt_debugRtprefixRtsuffixthostR(Rturltdatetime((s4/usr/lib64/python2.6/site-packages/mx/Misc/Cookie.pytmatch`s"    " " cCsd|iƒS(NsSet-Cookie: %s(R(R((s4/usr/lib64/python2.6/site-packages/mx/Misc/Cookie.pyt__str__|scCs/d|ii|ii|i|it|ƒfS(Ns<%s.%s "%s = %s" at 0x%x>(t __class__t __module__t__name__RRtid(R((s4/usr/lib64/python2.6/site-packages/mx/Misc/Cookie.pyt__repr__€s   N(R)R(t__doc__RR RRRRRRRRRtstringRRtcontentRt http_headerRR%R&R+(((s4/usr/lib64/python2.6/site-packages/mx/Misc/Cookie.pyRs #    c Cs7t|||dƒƒ}tddƒ}|p|S||ddƒ\|_}||ƒ|_t|ƒdjoÂx¿|dD]¯} || dƒ\} }|| ƒ} | djo ||_q|| djo-y||ƒ|_Wq+tj oq+Xq|| d jo ||_q|| d jo d|_ q|q|Wn|S( sb Parse the value of an Set-Cookie header and return a corresponding Cookie instance. Rsno-nameRit=iRR RR( tmapRRRtlenRR t ValueErrorRR( Rtsplitattstript charsplitt urldecodetlowert DateTimeFromtitemstctitemtkey((s4/usr/lib64/python2.6/site-packages/mx/Misc/Cookie.pytCookieFromHeader‹s.          t__main__tatbRs/mysiteR iRs egenix.comiöÿÿÿi ((R,R-tmxRRRt __version__RRR4R5R6R7R8R9R>t ParserCookieR)tc1Rts1tc2tc3tc4Rtc5R(((s4/usr/lib64/python2.6/site-packages/mx/Misc/Cookie.pyt s2 z