W3C home > Mailing lists > Public > ietf-dav-versioning@w3.org > October to December 2002

RE: UPDATE responses for versioned collections

From: Clemm, Geoff <gclemm@rational.com>
Date: Tue, 1 Oct 2002 14:24:56 -0400
Message-ID: <E4F2D33B98DF7E4880884B9F0E6FDEE25ED42F@SUS-MA1IT01>
To: ietf-dav-versioning@w3.org
I would expect the latter, i.e. just the fact that the
versioned collection had changed.  The client would then
look at the DAV:version-controlled-binding-set of the
DAV:checked-in version of the collection to see how it
should update its local state (it needs to do that to
differentiate a delete/add from a move).

One benefit of this approach is that it doesn't cause 
a flood of responses if you move a folder with 1000
members (i.e. it would return just the source and destination
collections of the move, rather that 1000 added entries
and 1000 deleted entries).


-----Original Message-----
From: Julian Reschke [mailto:julian.reschke@gmx.de]
Sent: Tuesday, October 01, 2002 9:05 AM
To: ietf-dav-versioning@w3.org
Subject: UPDATE responses for versioned collections


the spec says about the UPDATE method [1]:

"The response to an UPDATE request identifies the resources modified by the
request, so that a client can efficiently update any cached state it is
maintaining. Extensions to the UPDATE method allow multiple resources to be
modified from a single UPDATE request (see Section 12.13). "

When a versioned collection is updated, this may affect the versioned
collections and all it's internal members. One possible state transition is
that a child is removed.

For instance, let "/a" be a versioned collection with a version controlled
member "/a/b". I update "/a" from a collection version which doesn't have
"b" in it's version-controlled-binding-set. "/a/b" gets removed. What
response do we expect?

 <D:multistatus xmlns:D="DAV:">
    <D:status>HTTP/1.1 200 OK</D:status>
    <D:status>HTTP/1.1 404 Not Found</D:status>


 <D:multistatus xmlns:D="DAV:">
    <D:status>HTTP/1.1 200 OK</D:status>


[1] <http://greenbytes.de/tech/webdav/rfc3253.html#METHOD_UPDATE>

<green/>bytes GmbH -- http://www.greenbytes.de -- tel:+492512807760
Received on Tuesday, 1 October 2002 14:25:31 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:55:48 UTC