[Zope-Checkins] CVS: Zope/lib/python/webdav - NullResource.py:1.29.4.3
Brian Lloyd
brian@digicool.com
Tue, 25 Sep 2001 09:29:54 -0400
Update of /cvs-repository/Zope/lib/python/webdav
In directory cvs.zope.org:/tmp/cvs-serv29588
Modified Files:
Tag: Zope-2_4-branch
NullResource.py
Log Message:
Added support for PROPFIND to lock-null resources per the RFC, making
Dreamweaver happier.
=== Zope/lib/python/webdav/NullResource.py 1.29.4.2 => 1.29.4.3 ===
def title_or_id(self):
return 'Foo'
-
+
+ OPTIONS__roles__=None
+ def OPTIONS(self, REQUEST, RESPONSE):
+ """Retrieve communication options."""
+ return Resource.OPTIONS(self, REQUEST, RESPONSE)
+
+ def PROPFIND(self, REQUEST, RESPONSE):
+ """Retrieve properties defined on the resource."""
+ return Resource.PROPFIND(self, REQUEST, RESPONSE)
+
def LOCK(self, REQUEST, RESPONSE):
""" A Lock command on a LockNull resource should only be a
refresh request (one without a body) """