[Zope-Checkins] CVS: Zope/lib/python/ZServer - HTTPResponse.py:1.43.8.3

Chris Withers chris at simplistix.co.uk
Fri Jul 30 17:49:35 EDT 2004


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

Modified Files:
      Tag: Zope-2_7-branch
	HTTPResponse.py 
Log Message:
Collector #1441: Removed headers introduced to make Microsoft
       webfolders and office apps happy, since they make a lot of
       standards-compliant things unhappy AND they trick MS Office
       into trying to edit office files stored in Zope via WebDAV even
       when the user isn't allowed to edit them and is only trying to
       download them.


=== Zope/lib/python/ZServer/HTTPResponse.py 1.43.8.2 => 1.43.8.3 ===
--- Zope/lib/python/ZServer/HTTPResponse.py:1.43.8.2	Sun Mar 28 06:11:48 2004
+++ Zope/lib/python/ZServer/HTTPResponse.py	Fri Jul 30 17:49:05 2004
@@ -92,8 +92,8 @@
         if headers.has_key('status'):
             del headers['status']
 
-        if not headers.has_key("Etag"):
-            self.setHeader('Etag','')
+        # XXMSXX if not headers.has_key("Etag"):
+        # XXMSXX     self.setHeader('Etag','')
 
         # add zserver headers
         append('Server: %s' % self._server_version)



More information about the Zope-Checkins mailing list