Re: [VCARDDAV] Vcarddav: creating new resources

Julian Reschke <julian.reschke@gmx.de> Sun, 30 November 2008 14:44 UTC

Return-Path: <vcarddav-bounces@ietf.org>
X-Original-To: vcarddav-archive@optimus.ietf.org
Delivered-To: ietfarch-vcarddav-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id AC7F03A6B53; Sun, 30 Nov 2008 06:44:15 -0800 (PST)
X-Original-To: vcarddav@core3.amsl.com
Delivered-To: vcarddav@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 0C96D3A6B53 for <vcarddav@core3.amsl.com>; Sun, 30 Nov 2008 06:44:15 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.585
X-Spam-Level:
X-Spam-Status: No, score=-4.585 tagged_above=-999 required=5 tests=[AWL=-2.586, BAYES_00=-2.599, J_CHICKENPOX_38=0.6]
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 XPPlbduexcYS for <vcarddav@core3.amsl.com>; Sun, 30 Nov 2008 06:44:14 -0800 (PST)
Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by core3.amsl.com (Postfix) with SMTP id 9E2E53A67E9 for <vcarddav@ietf.org>; Sun, 30 Nov 2008 06:44:13 -0800 (PST)
Received: (qmail invoked by alias); 30 Nov 2008 14:44:08 -0000
Received: from p508FD501.dip.t-dialin.net (EHLO [192.168.178.22]) [80.143.213.1] by mail.gmx.net (mp014) with SMTP; 30 Nov 2008 15:44:08 +0100
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX18bdtk69ycbAuIeX+hto/oZAOjgQmkkLCqaIW9OXb 0aVwqmiho12nY7
Message-ID: <4932A6B2.3040404@gmx.de>
Date: Sun, 30 Nov 2008 15:44:02 +0100
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.0.4) Gecko/20060516 Thunderbird/1.5.0.4 Mnenhy/0.7.4.666
MIME-Version: 1.0
To: vcarddav@ietf.org
References: <48FC7E98.303@gmx.de> <661C48C1-22A7-469C-A6F3-A566EB11181E@opengroupware.org> <64F19C2C059493904588D4E8@caldav.corp.apple.com> <48FC8D40.5040001@gmx.de> <9AD6B223F93D270DA790ECA2@caldav.corp.apple.com> <48FC9372.6000600@gmx.de> <681C0F26-D9A8-4B6A-8DEB-D962B6CB2D5E@opengroupware.org> <48FC9915.9020201@gmx.de> <BBA0C580-05DD-4646-AC30-C71C24AB9648@opengroupware.org> <48FC9E52.9000007@gmx.de> <49083BA3.5030505@gmx.de>
In-Reply-To: <49083BA3.5030505@gmx.de>
X-Y-GMX-Trusted: 0
X-FuHaFi: 0.54
Subject: Re: [VCARDDAV] Vcarddav: creating new resources
X-BeenThere: vcarddav@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "vCard and CardDAV Engineering List, potential WG" <vcarddav.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/vcarddav>, <mailto:vcarddav-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/pipermail/vcarddav>
List-Post: <mailto:vcarddav@ietf.org>
List-Help: <mailto:vcarddav-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/vcarddav>, <mailto:vcarddav-request@ietf.org?subject=subscribe>
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"; Format="flowed"
Sender: vcarddav-bounces@ietf.org
Errors-To: vcarddav-bounces@ietf.org

Hi,

Cyrus encouraged me to bring up this topic again.

Last month's discussion ended around 
<http://www.ietf.org/mail-archive/web/vcarddav/current/msg00650.html>, 
with me reporting back from the related discussion over at the HTTPbis 
WG's mailing list 
(<http://lists.w3.org/Archives/Public/ietf-http-wg/2008OctDec/0096.html>).

At this point I think this WG needs to decide whether the "server picks 
the URI" approach should be *allowed*.

If it's not, the carddav specification clearly should state this, and in 
particular rule out those workarounds we're seeing in CalDAV (which got 
discussed over here and on the HTTPbis mailing list).

If it should be allowed (and I think it should), we should add a way to 
do it. PUT does not work for the reasons that came up during the 
discussion (please read the discussion on the httpbis WG mailing list). 
My proposal would be to use "Using POST to add Members to Web 
Distributed Authoring and Versioning (WebDAV) Collections" 
(<http://greenbytes.de/tech/webdav/draft-reschke-webdav-post-latest.html>) 
-- an alternative would be a new verb as proposed earlier ("ADDMEMBER").

If this WG wants to use this proposal, I'm happy to hand it over to the 
WG for completion (I think there are few things left to do, mainly 
taking out the stuff that relates to the unfinished HTTP Link header 
draft, and potentially moving the elements into the "DAV:" namespace).

BR, Julian



Julian Reschke wrote:
> Julian Reschke wrote:
>> ...
>> POST is not a new method.
>>
>> PUT+Location definitively does *not* work everywhere; I'm sure of that 
>> because the WebDAV client code I've written in the past certainly 
>> won't understand it.
>>
>> If the catch-all semantics of POST are a problem, then one way to 
>> handle  this is to offer the client enough information about what POST 
>> semantics are implemented. For instance, AtomPub does this by 
>> requiring the more specific behavior for the Atom feed URIs it 
>> exposes. My proposal (for WebDAV) does the equivalent; it exposes the 
>> URI for "add-member" POSTs on the wire (PROPFIND or DAV:error), so a 
>> client can rely on the desired semantics.
>>
>> BR, Julian
>> ...
> 
> For the record, we *did* move the discussion over to the httpbis WG's 
> mailing list; see thread at 
> <http://lists.w3.org/Archives/Public/ietf-http-wg/2008OctDec/thread.html#msg44> 
> in general, and Roy's message at 
> <http://lists.w3.org/Archives/Public/ietf-http-wg/2008OctDec/0096.html> 
> in particular.
> 
> BR, Julian


_______________________________________________
VCARDDAV mailing list
VCARDDAV@ietf.org
https://www.ietf.org/mailman/listinfo/vcarddav