[Zope-Checkins] SVN: Zope/trunk/lib/python/webdav/Resource.py - Re-added the DAV header (Collector #1518) which had been removed

Andreas Jung andreas at andreas-jung.com
Thu Sep 30 12:22:13 EDT 2004


Log message for revision 27713:
  
       - Re-added the DAV header (Collector #1518) which had been removed
         in beta 1.
  


Changed:
  U   Zope/trunk/lib/python/webdav/Resource.py


-=-
Modified: Zope/trunk/lib/python/webdav/Resource.py
===================================================================
--- Zope/trunk/lib/python/webdav/Resource.py	2004-09-30 16:20:29 UTC (rev 27712)
+++ Zope/trunk/lib/python/webdav/Resource.py	2004-09-30 16:22:13 UTC (rev 27713)
@@ -197,6 +197,7 @@
         self.dav__init(REQUEST, RESPONSE)
         RESPONSE.setHeader('Allow', ', '.join(self.__http_methods__))
         RESPONSE.setHeader('Content-Length', 0)
+        RESPONSE.setHeader('DAV', '1,2', 1)
         RESPONSE.setStatus(200)
         return RESPONSE
 



More information about the Zope-Checkins mailing list