Re: [Ietf-caldav] [Fwd: draft-reschke-http-addmember-00]

Mark Baker <distobj@acm.org> Fri, 25 February 2005 05:35 UTC

X-Envelope-From: distobj@acm.org
X-Envelope-To: <ietf-caldav@osafoundation.org>
Received: from bork.markbaker.ca (static-80-155.dsl.cuic.ca [216.126.80.155] (may be forged)) by kahuna.osafoundation.org (8.12.8/8.12.8) with ESMTP id j1P5ZgaZ002756 for <ietf-caldav@osafoundation.org>; Thu, 24 Feb 2005 21:35:42 -0800
Received: from mbaker by bork.markbaker.ca with local (Exim 3.36 #1 (Debian)) id 1D4Y85-0004GV-00; Fri, 25 Feb 2005 00:35:09 -0500
Date: Fri, 25 Feb 2005 00:35:09 -0500
From: Mark Baker <distobj@acm.org>
To: HTTP Working Group <ietf-http-wg@w3.org>, CalDAV DevList <ietf-caldav@osafoundation.org>, WebDAV WG <w3c-dist-auth@w3.org>
Subject: Re: [Ietf-caldav] [Fwd: draft-reschke-http-addmember-00]
Message-ID: <20050225053508.GA16308@markbaker.ca>
References: <4214F973.9060404@gmx.de> <1109017914.3811.29.camel@localhost.localdomain> <20050221212838.GA8870@mail.shareable.org> <1109040989.3811.39.camel@localhost.localdomain> <20050222034655.GC4504@markbaker.ca> <7d6e31bc68586bba82b76fd4fe4443ba@gbiv.com> <20050222133758.GD4504@markbaker.ca> <c126af63ffe0c6f778badbaf438ca38c@gbiv.com> <20050223042608.GF4504@markbaker.ca> <9ee689aeebb609c273b25296ff535c51@gbiv.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <9ee689aeebb609c273b25296ff535c51@gbiv.com>
User-Agent: Mutt/1.5.6+20040907i
X-Spam-Score: 0.05 () FORGED_RCVD_HELO
X-Scanned-By: MIMEDefang 2.48 on 127.0.0.1
Cc:
X-BeenThere: ietf-caldav@osafoundation.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Discussions on Calendar Access protocol based on WebDAV <ietf-caldav.osafoundation.org>
List-Unsubscribe: <http://lists.osafoundation.org/mailman/listinfo/ietf-caldav>, <mailto:ietf-caldav-request@osafoundation.org?subject=unsubscribe>
List-Archive: <http://lists.osafoundation.org/pipermail/ietf-caldav>
List-Post: <mailto:ietf-caldav@osafoundation.org>
List-Help: <mailto:ietf-caldav-request@osafoundation.org?subject=help>
List-Subscribe: <http://lists.osafoundation.org/mailman/listinfo/ietf-caldav>, <mailto:ietf-caldav-request@osafoundation.org?subject=subscribe>
X-List-Received-Date: Fri, 25 Feb 2005 05:35:43 -0000

On Wed, Feb 23, 2005 at 12:24:07AM -0800, Roy T. Fielding wrote:
> On Feb 22, 2005, at 8:26 PM, Mark Baker wrote:
> >I still don't see how POST vs. ADDMEMBER is any different than POST
> >vs. PUT.  You previously said that PUT has "set the state of this
> >resource" semantics which is clearly different than POST.  IMO,
> >ADDMEMBER's semantics are very similar to PUT.  What (constraint?) am
> >I missing that suggests PUT is fine while ADDMEMBER isn't?
> 
> You are missing that the target of PUT is the new resource,
> whereas the target of POST and ADDMEMBER are both the collection
> resource.  As such, ADDMEMBER's semantics has very little in
> common with PUT (almost nothing, in fact, since any unsafe
> extension method can return 201 and communicate just as much,
> whereas PUT is unique in what it communicates by the 200/201).

In case anybody's still following this thread 8-) ... I now find myself
in agreement with Roy, that POST is appropriate and that ADDMEMBER ==
POST.

I was looking at the interaction from the POV of a tweak on PUT
semantics, rather than as the submission of a document to a
state-preserving container (which I should have recognized it as
immediately, given my previous attempts at describing such a
model[1]).

I'm still not convinced that a POST extension (which declared the
expected type of the target resource) wouldn't improve the
self-descriptiveness of the message, but practically, that's pretty
much irrelevant for the purposes of this discussion.

 [1] http://www.markbaker.ca/2001/09/draft-baker-http-resource-state-model-01.txt

Mark.
-- 
Mark Baker.   Ottawa, Ontario, CANADA.        http://www.markbaker.ca