subversion-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "C. Michael Pilato" <cmpil...@collab.net>
Subject Re: svnsync "207 Multi-Status" failure with http access method and property "svn:"
Date Tue, 05 Jan 2010 12:53:44 GMT
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@collab.net>
CollabNet   <>   www.collab.net   <>   Distributed Development On Demand


Mime
View raw message