Re: Etag-on-write, draft -04

On 12/2/06, Julian Reschke <> 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