[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: Branko Cibej <brane_at_xbc.nu>
Date: Fri, 30 Oct 2009 04:04:42 +0100

Justin Erenkrantz wrote:
> 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.)

Oh, that's a good point -- just use a non-standard header.
(But I don't believe you can actually put an ETag value in
If-Unmodified-Since? I thought those were only for If-Match & co.)

-- Brane

Received on 2009-10-30 04:04:59 CET

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.