Package webdav :: Module EtagSupport :: Class EtagSupport
[show private | hide private]
[frames | no frames]

Class EtagSupport

Known Subclasses:
LockableItem

This class is the basis for supporting Etags in Zope. It's main function right now is to support the *Lost Updates Problem* by allowing Etags and If-Match headers to be checked on PUT calls to provide a *Seatbelt* style functionality. The Etags is based on the bobobase_modification_time, and thus is updated whenever the object is updated. If a PUT request, or other HTTP or Dav request comes in with an Etag different than the current one, that request can be rejected according to the type of header (If-Match, If-None-Match).
Method Summary
  http__etag(self, readonly)
  http__parseMatchList(self, REQUEST, header)
  http__processMatchHeaders(self, REQUEST)
  http__refreshEtag(self)

Class Variable Summary
Implements __implemented__ = <implementedBy webdav.EtagSupport.Etag...
tuple __implements__ = (<Interface webdav.EtagSupport.EtagBase...
ClassProvides __providedBy__ = <zope.interface.declarations.ClassProvi...
ClassProvides __provides__ = <zope.interface.declarations.ClassProvide...

Class Variable Details

__implemented__

Type:
Implements
Value:
<implementedBy webdav.EtagSupport.EtagSupport>                         

__implements__

Type:
tuple
Value:
(<Interface webdav.EtagSupport.EtagBaseInterface at 1484890>,)         

__providedBy__

Type:
ClassProvides
Value:
<zope.interface.declarations.ClassProvides object at 0x1569630>        

__provides__

Type:
ClassProvides
Value:
<zope.interface.declarations.ClassProvides object at 0x1569630>        

Generated by Epydoc 2.1 on Thu Aug 16 09:55:15 2007 http://epydoc.sf.net