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

Re: svnsync "207 Multi-Status" failure with http access method and property "svn:"

From: C. Michael Pilato <cmpilato_at_collab.net>
Date: Tue, 05 Jan 2010 07:53:44 -0500

Engebakken Geir wrote:
> It seems to me that the 207 message is not an error message seen from
> Apache, rather an informative message, but that SVN interprets it as an
> error somehow. I would be glad to find out more about this ........

"207 Multi-Status" isn't an error at all. It's a code from Apache that
means, "I've got multiple different pieces of status information to provide
to you -- see the response body for details."

In Subversion, those multiple bits of status generally correspond to
individual statii (heh) of property requests. Subversion says, "Apache,
please send me properties 'foo', 'bar', and 'baz' on file.txt." But what if
there's no 'bar' property on that file? Apache can't reply "200 OK",
because all is not well. It can't reply "404 Item Not Found", because some
of the items *were* found. So it replies "207 Multi-Status", and the body
of the response contains the property values and 200 statuses for the
requested properties that actually exist, plus 404 statuses for the
properties that *don't* exist.

-- 
C. Michael Pilato <cmpilato_at_collab.net>
CollabNet   <>   www.collab.net   <>   Distributed Development On Demand

Received on 2010-01-05 13:54:24 CET

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

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