subversion-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Philip Martin <>
Subject Re: Last-Modified HTTP header in GET responses
Date Mon, 04 Jan 2016 12:59:16 GMT
Branko ─îibej <> writes:

> The only really valid reason for removing that code is your point that
> we can't guarantee compliance of the Last-Modified header value compared
> with the Date header value. There's another solution for that ... we
> could check those values in mod_dav_svn and adjust Last-Modified if
> necessary.

Apache does this for us already: Subversion calls ap_set_last_modified()
and Apache calls ap_rationalize_mtime(). Testing with svn:date set in
the future:

$ svn pg --revprop -r2 svn:date wc

I see a Last-Modified varying with the current time:

Last-Modified: Mon, 04 Jan 2016 12:57:06 GMT\r

Last-Modified: Mon, 04 Jan 2016 12:57:53 GMT\r

Philip Martin

View raw message