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

Modified Files:
      Tag: Zope-2_7-branch
        HTTPResponse.py 
Log Message:
- revert unwanted checkin


=== Zope/lib/python/ZServer/HTTPResponse.py 1.43.8.5 => 1.43.8.6 ===
--- Zope/lib/python/ZServer/HTTPResponse.py:1.43.8.5    Sat Oct  1 09:18:19 2005
+++ Zope/lib/python/ZServer/HTTPResponse.py     Sat Oct  1 09:30:51 2005
@@ -72,11 +72,9 @@
                 self.status == 200:
             self.setStatus('nocontent')
 
-        # add content length if not streaming or if the status is 
-        # not 304, where it's not allowed (see RFC 2616)
+        # add content length if not streaming
         if not headers.has_key('content-length') and \
-                not self._streaming and \
-                self.status not in (304,):
+                not self._streaming:
             self.setHeader('content-length',len(body))
 
 

_______________________________________________
Zope-Checkins maillist  -  Zope-Checkins@zope.org
http://mail.zope.org/mailman/listinfo/zope-checkins

Reply via email to