[Zope-Checkins] CVS: Zope/lib/python/webdav - NullResource.py:1.31

Brian Lloyd brian@digicool.com
Tue, 25 Sep 2001 09:29:21 -0400


Update of /cvs-repository/Zope/lib/python/webdav
In directory cvs.zope.org:/tmp/cvs-serv29532

Modified Files:
	NullResource.py 
Log Message:
Added support for PROPFIND to lock-null resources per the RFC, which 
makes Dreamweaver happier.


=== Zope/lib/python/webdav/NullResource.py 1.30 => 1.31 ===
     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) """