[Zope-Checkins] CVS: Zope/ZServer - HTTPResponse.py:1.34
Andreas Jung
andreas@zope.com
Mon, 26 Nov 2001 12:36:02 -0500
Update of /cvs-repository/Zope/ZServer
In directory cvs.zope.org:/tmp/cvs-serv8275/ZServer
Modified Files:
HTTPResponse.py
Log Message:
added creation of ETAG header
=== Zope/ZServer/HTTPResponse.py 1.33 => 1.34 ===
if headers.has_key('status'):
del headers['status']
+
+ if not headers.has_key("etag"):
+ self.setHeader('ETAG','')
# add zserver headers
append('Server: %s' % self._server_version)