The sending of an empty ETag header is a workaround to get Zope working with M$ Office through Webdav. But this header should be only be send on the WebDAV port. Andreas --On Thursday, June 20, 2002 21:16 +0200 Dieter Maurer <dieter@handshake.de> wrote:
Leonardo Rochael Almeida writes:
IMHO, Last-modified does not make sense for dynamically calculated pages, as most zope pages are. We should just not provide this header, or provide with the value of the current time. Most Zope objects do not send "Last-Modified" headers, unless you use an HTTP cache manager. File objects (and derived objects) do but there it is justified.
However, Zope seems to send a bogus ETag header. The HTTP spec says that the ETag must uniquely identify the current incarnation of the entity. Especially, the ETag should change, when the entity is modified. But Zope sends empty "ETag" headers, allowing HTTP compatible caches to cache the pages.
This seems to be a bug with the consequence of unanticipated caching problems.
Dieter
_______________________________________________ Zope-Dev maillist - Zope-Dev@zope.org http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
--------------------------------------------------------------------- - Andreas Jung http://www.andreas-jung.com - - EMail: andreas at andreas-jung.com - - "Life is too short to (re)write parsers" - ---------------------------------------------------------------------