W3C home > Mailing lists > Public > ietf-http-wg@w3.org > October to December 2006

Re: Etag-on-write, draft -04

From: Justin Erenkrantz <justin@erenkrantz.com>
Date: Mon, 4 Dec 2006 10:57:40 +0100
Message-ID: <5c902b9e0612040157r1058a931r91ae8adf436c4461@mail.gmail.com>
To: "Julian Reschke" <julian.reschke@gmx.de>
Cc: "HTTP Working Group" <ietf-http-wg@w3.org>

On 12/2/06, Julian Reschke <julian.reschke@gmx.de> wrote:
> Last time I checked, the ETag handling was completely independent of
> Apache/moddav.

No - ETag is handled by mod_dav through its getetag hook.  The catch
here is that the simplistic mod_dav_fs doesn't use that and defers to
the core handlers - which uses inodes and last-modified resources -
which can produce weak etags when the last-modified date is the
current second.  (There is a #ifdef that'll make mod_dav_fs not defer
to the core though.)

FWIW, Subversion's mod_dav_svn uses its own ETag implementation -
based on rev # and resource; and will never produce weak etags -
except for collections - which always produce weak ETags (as
Subversion includes header and footer sugar that can change over

HTH. -- justin
Received on Monday, 4 December 2006 09:57:51 UTC

This archive was generated by hypermail 2.3.1 : Monday, 9 September 2019 17:47:10 UTC