[Zope-Checkins] CVS: Zope/lib/python/webdav - NullResource.py:1.32
Brian Lloyd
brian@digicool.com
Wed, 26 Sep 2001 09:41:16 -0400
Update of /cvs-repository/Zope/lib/python/webdav
In directory cvs.zope.org:/tmp/cvs-serv31565
Modified Files:
NullResource.py
Log Message:
Allowed OPTIONS on null resources to be rfc compliant.
=== Zope/lib/python/webdav/NullResource.py 1.31 => 1.32 ===
# Most methods return 404 (Not Found) for null resources.
- DELETE=OPTIONS=TRACE=PROPFIND=PROPPATCH=COPY=MOVE=HEAD
+ DELETE=TRACE=PROPFIND=PROPPATCH=COPY=MOVE=HEAD
def _default_PUT_factory( self, name, typ, body ):
# Return DTMLDoc/Image/File, based on sniffing.
@@ -315,11 +315,6 @@
title_or_id__roles__=None
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."""