Re: An idea for PUT where the server picks the name

Geoffrey M Clemm <geoffrey.clemm@us.ibm.com> Wed, 30 July 2008 12:32 UTC

Return-Path: <w3c-dist-auth-request@listhub.w3.org>
X-Original-To: ietfarch-webdav-archive@core3.amsl.com
Delivered-To: ietfarch-webdav-archive@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 984B328C33C for <ietfarch-webdav-archive@core3.amsl.com>; Wed, 30 Jul 2008 05:32:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.998
X-Spam-Level:
X-Spam-Status: No, score=-5.998 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HTML_MESSAGE=0.001, J_CHICKENPOX_34=0.6, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kh4nBuH8jXuA for <ietfarch-webdav-archive@core3.amsl.com>; Wed, 30 Jul 2008 05:32:28 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by core3.amsl.com (Postfix) with ESMTP id 61AE528C33D for <webdav-archive@lists.ietf.org>; Wed, 30 Jul 2008 05:32:28 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.63) (envelope-from <w3c-dist-auth-request@listhub.w3.org>) id 1KOApM-0007cH-RC for w3c-dist-auth-dist@listhub.w3.org; Wed, 30 Jul 2008 12:30:48 +0000
Received: from [128.30.52.63] (helo=bart.w3.org) by frink.w3.org with esmtp (Exim 4.63) (envelope-from <geoffrey.clemm@us.ibm.com>) id 1KOApK-0007Yu-It; Wed, 30 Jul 2008 12:30:46 +0000
Received: from e4.ny.us.ibm.com ([32.97.182.144]) by bart.w3.org with esmtp (Exim 4.63) (envelope-from <geoffrey.clemm@us.ibm.com>) id 1KOApC-0006sl-1j; Wed, 30 Jul 2008 08:30:46 -0400
Received: from d01relay02.pok.ibm.com (d01relay02.pok.ibm.com [9.56.227.234]) by e4.ny.us.ibm.com (8.13.8/8.13.8) with ESMTP id m6UCTH7m010192; Wed, 30 Jul 2008 08:29:17 -0400
Received: from d01av04.pok.ibm.com (d01av04.pok.ibm.com [9.56.224.64]) by d01relay02.pok.ibm.com (8.13.8/8.13.8/NCO v9.0) with ESMTP id m6UCTHcn217992; Wed, 30 Jul 2008 08:29:17 -0400
Received: from d01av04.pok.ibm.com (loopback [127.0.0.1]) by d01av04.pok.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id m6UCTHht016942; Wed, 30 Jul 2008 08:29:17 -0400
Received: from d01ml261.pok.ibm.com (d01ml261.pok.ibm.com [9.56.227.97]) by d01av04.pok.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id m6UCTG35016937; Wed, 30 Jul 2008 08:29:17 -0400
In-Reply-To: <489032D5.7070105@gmx.de>
To: Julian Reschke <julian.reschke@gmx.de>
Cc: WebDAV <w3c-dist-auth@w3.org>, w3c-dist-auth-request@w3.org
MIME-Version: 1.0
X-Mailer: Lotus Notes Release 7.0 HF277 June 21, 2006
From: Geoffrey M Clemm <geoffrey.clemm@us.ibm.com>
Message-ID: <OFA5787D45.554DE764-ON85257496.004481A5-85257496.00449921@us.ibm.com>
Date: Wed, 30 Jul 2008 08:29:14 -0400
X-MIMETrack: Serialize by Router on D01ML261/01/M/IBM(Release 8.0.1|February 07, 2008) at 07/30/2008 08:29:16, Serialize complete at 07/30/2008 08:29:16
Content-Type: multipart/alternative; boundary="=_alternative 0044986D85257496_="
Received-SPF: pass
X-SPF-Guess: pass
X-W3C-Hub-Spam-Status: No, score=-6.6
X-W3C-Hub-Spam-Report: BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-4, SPF_PASS=-0.001
X-W3C-Scan-Sig: bart.w3.org 1KOApC-0006sl-1j 6e918dcf45155ca5a36d4c2fe5cea3bf
X-Original-To: w3c-dist-auth@w3.org
Subject: Re: An idea for PUT where the server picks the name
Archived-At: <http://www.w3.org/mid/OFA5787D45.554DE764-ON85257496.004481A5-85257496.00449921@us.ibm.com>
Resent-From: w3c-dist-auth@w3.org
X-Mailing-List: <w3c-dist-auth@w3.org> archive/latest/12962
X-Loop: w3c-dist-auth@w3.org
Sender: w3c-dist-auth-request@w3.org
Resent-Sender: w3c-dist-auth-request@w3.org
Precedence: list
List-Id: <w3c-dist-auth.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Unsubscribe: <mailto:w3c-dist-auth-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1KOApM-0007cH-RC@frink.w3.org>
Resent-Date: Wed, 30 Jul 2008 12:30:48 +0000

Sounds good to me.  The common use of POST to mean "some undefined 
operation" makes an extension like this necessary.

Cheers,
Geoff

w3c-dist-auth-request@w3.org wrote on 07/30/2008 05:22:29 AM:

> 
> Hi,
> 
> I proposed an ADDMEMBER method some time ago 
> 
(<http://greenbytes.de/tech/webdav/draft-reschke-http-addmember-00.html>), 

> and one feedback I got was that it's not needed because it duplicates 
POST.
> 
> In fact, Atompub (RFC 5023) uses POST exactly this way.
> 
> My main concern with this approach is that clients in general do not 
> know what the semantics of a POST will be, so the servers needs to tell 
> them in some way. In HTML forms are used, in Atompub it's part of the 
> contract for collections.
> 
> So how about something like this:
> 
> - define a new live property on collections, "post-location", containing 

> an DAV:href element identifying a resource that the client can POST to
> 
> - servers that already use POST on collections would just assign a 
> different URI for that service, others could just use the collection's 
URI
> 
> - POST would work as in AtomPub: post any type of content, server stores 

> it, and returns new URI in Location header.
> 
> - we probably would also want to include the Slug header, as defined in 
> <http://greenbytes.de/tech/webdav/rfc5023.html#rfc.section.9.7>.
> 
> (I recall people were unhappy with CalDAV requiring support for PUT, 
> could this be useful over there as well?)
> 
> BR, Julian
>