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

Lisa Dusseault <lisa@osafoundation.org> Wed, 30 July 2008 09:50 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 72F4C3A6BAC for <ietfarch-webdav-archive@core3.amsl.com>; Wed, 30 Jul 2008 02:50:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.299
X-Spam-Level:
X-Spam-Status: No, score=-6.299 tagged_above=-999 required=5 tests=[AWL=-0.300, BAYES_00=-2.599, 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 RFdLQwg+1DrM for <ietfarch-webdav-archive@core3.amsl.com>; Wed, 30 Jul 2008 02:50:52 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by core3.amsl.com (Postfix) with ESMTP id 289F73A6BE0 for <webdav-archive@lists.ietf.org>; Wed, 30 Jul 2008 02:50:51 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.63) (envelope-from <w3c-dist-auth-request@listhub.w3.org>) id 1KO8K7-000316-Rz for w3c-dist-auth-dist@listhub.w3.org; Wed, 30 Jul 2008 09:50:23 +0000
Received: from maggie.w3.org ([193.51.208.68]) by frink.w3.org with esmtp (Exim 4.63) (envelope-from <lisa@osafoundation.org>) id 1KO8K6-0001jY-Qa for w3c-dist-auth@listhub.w3.org; Wed, 30 Jul 2008 09:50:22 +0000
Received: from laweleka.osafoundation.org ([204.152.186.98]) by maggie.w3.org with esmtp (Exim 4.63) (envelope-from <lisa@osafoundation.org>) id 1KO860-0005tf-Q4 for w3c-dist-auth@w3.org; Wed, 30 Jul 2008 09:35:58 +0000
Received: from localhost (laweleka.osafoundation.org [127.0.0.1]) by laweleka.osafoundation.org (Postfix) with ESMTP id 9D23C14220F; Wed, 30 Jul 2008 02:35:20 -0700 (PDT)
X-Virus-Scanned: by amavisd-new and clamav at osafoundation.org
Received: from laweleka.osafoundation.org ([127.0.0.1]) by localhost (laweleka.osafoundation.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id A5LQV0M39Hvf; Wed, 30 Jul 2008 02:35:10 -0700 (PDT)
Received: from [130.129.23.68] (unknown [130.129.23.68]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by laweleka.osafoundation.org (Postfix) with ESMTP id CA787142213; Wed, 30 Jul 2008 02:35:09 -0700 (PDT)
Cc: WebDAV <w3c-dist-auth@w3.org>
Message-Id: <73816743-C487-4C35-B9E8-45181F26AD52@osafoundation.org>
From: Lisa Dusseault <lisa@osafoundation.org>
To: Julian Reschke <julian.reschke@gmx.de>
In-Reply-To: <489032D5.7070105@gmx.de>
Content-Type: text/plain; charset="US-ASCII"; format="flowed"; delsp="yes"
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Apple Message framework v928.1)
Date: Wed, 30 Jul 2008 10:35:07 +0100
References: <489032D5.7070105@gmx.de>
X-Mailer: Apple Mail (2.928.1)
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, RCVD_IN_DNSWL_MED=-4, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1KO860-0005tf-Q4 e6b8e99740c4b628fade155c41c54c7a
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/73816743-C487-4C35-B9E8-45181F26AD52@osafoundation.org>
Resent-From: w3c-dist-auth@w3.org
X-Mailing-List: <w3c-dist-auth@w3.org> archive/latest/12961
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: <E1KO8K7-000316-Rz@frink.w3.org>
Resent-Date: Wed, 30 Jul 2008 09:50:23 +0000

I like this

Lisa

On Jul 30, 2008, at 10:22 AM, Julian Reschke wrote:

>
> 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
>