[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: 404 error for each newly added file

From: Justin Erenkrantz <jerenkrantz_at_apache.org>
Date: Thu, 29 Oct 2009 19:58:05 -0700

On Thu, Oct 29, 2009 at 7:15 PM, Ben Collins-Sussman
<sussman_at_red-bean.com> wrote:
>> It's quite possible that we had such checks in there becasue we wanted
>> compatibility with non-Subversion DeltaV servers or something. Even in
>> that case, the PUT could be conditional -- just adding an
>> If-Unmodified-Since header should safely avoid any PUT races.
> Ooh, interesting.  Gstein could comment on whether this is feasible...

Since we control the horizontal and the vertical here, there's no
reason we couldn't add this to both mod_dav_svn and ra_serf. It would
be a nice low-hanging optimization. (Could even just call the header
"If-Unmodified-Since-Version" or whatnot as "Since" would generally be
an ETag or a date; I think we'd rather key off the version.) --

Received on 2009-10-30 03:58:11 CET

This is an archived mail posted to the Subversion Dev mailing list.