Re: I-D Action:draft-reschke-webdav-post-00.txt

Petr Tomasek <tomasek@etf.cuni.cz> Sat, 18 October 2008 08:00 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 CB9EE3A6858 for <ietfarch-webdav-archive@core3.amsl.com>; Sat, 18 Oct 2008 01:00:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level:
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
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 jTUZZR4AksHO for <ietfarch-webdav-archive@core3.amsl.com>; Sat, 18 Oct 2008 01:00:00 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by core3.amsl.com (Postfix) with ESMTP id A7D483A67A4 for <webdav-archive@lists.ietf.org>; Sat, 18 Oct 2008 01:00:00 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.63) (envelope-from <w3c-dist-auth-request@listhub.w3.org>) id 1Kr6ie-00074n-Hy for w3c-dist-auth-dist@listhub.w3.org; Sat, 18 Oct 2008 07:59:28 +0000
Received: from maggie.w3.org ([193.51.208.68]) by frink.w3.org with esmtp (Exim 4.63) (envelope-from <tomasek@ebed.etf.cuni.cz>) id 1Kr6id-000749-68 for w3c-dist-auth@listhub.w3.org; Sat, 18 Oct 2008 07:59:27 +0000
Received: from ebed.etf.cuni.cz ([195.113.5.3]) by maggie.w3.org with esmtp (Exim 4.63) (envelope-from <tomasek@ebed.etf.cuni.cz>) id 1Kr6iR-0007X5-3k for w3c-dist-auth@w3.org; Sat, 18 Oct 2008 07:59:26 +0000
Received: from ebed.etf.cuni.cz (localhost.localdomain [127.0.0.1]) by ebed.etf.cuni.cz (8.12.11.20060308/8.12.11) with ESMTP id m9I7w7Vq018869 for <w3c-dist-auth@w3.org>; Sat, 18 Oct 2008 09:58:07 +0200
Received: (from tomasek@localhost) by ebed.etf.cuni.cz (8.12.11.20060308/8.12.11/Submit) id m9I7w4Ro018862 for w3c-dist-auth@w3.org; Sat, 18 Oct 2008 09:58:04 +0200
Date: Sat, 18 Oct 2008 09:58:04 +0200
From: Petr Tomasek <tomasek@etf.cuni.cz>
To: WebDAV <w3c-dist-auth@w3.org>
Message-ID: <20081018075804.GA17341@ebed.etf.cuni.cz>
References: <20080922153001.BC5663A69E7@core3.amsl.com> <48D7BCFE.40200@gmx.de> <20081007143043.GA21699@ebed.etf.cuni.cz> <48EB74E2.30803@gmx.de>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <48EB74E2.30803@gmx.de>
User-Agent: Mutt/1.4.1i
X-Homepage: http://www.etf.cuni.cz/~tomasek/
X-Echelon: bomb Arafat Intifada bus kach drugs mafia boss heroin spy Semtex Saddam Al-Qaida Usama bin Ladin Bush Sharon
X-AntiVirus: checked by AntiVir Milter (version: 1.1.0-4; AVE: 7.9.0.5; VDF: 7.0.7.58; host: ebed.etf.cuni.cz)
Received-SPF: none
X-SPF-Guess: pass
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-2.599
X-W3C-Scan-Sig: maggie.w3.org 1Kr6iR-0007X5-3k 6e4aeff610acf6d67991542d0bb35e94
X-Original-To: w3c-dist-auth@w3.org
Subject: Re: I-D Action:draft-reschke-webdav-post-00.txt
Archived-At: <http://www.w3.org/mid/20081018075804.GA17341@ebed.etf.cuni.cz>
Resent-From: w3c-dist-auth@w3.org
X-Mailing-List: <w3c-dist-auth@w3.org> archive/latest/13033
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: <E1Kr6ie-00074n-Hy@frink.w3.org>
Resent-Date: Sat, 18 Oct 2008 07:59:28 +0000

> >Hi,
> >
> >I dislike the fact, that a simple task like creating a new resource
> >should constitute complicated metadata creating/parsing.
> >
> >I think a simple method (I would choose another one, not the POST
> >one, but e.g. "CREATE") would be more suitable to the HTTP model.
> 
> I proposed that one ("ADDMEMBER", see 
> <http://tools.ietf.org/html/draft-reschke-http-addmember-00>) over three 
> years ago, and the feedback from the HTTP community I got was: "not 
> needed, just use POST").

Yes I know, but the "HTTP community" is simply wrong. There are fundamental
differences of how POST and the supposed ADDMEMBER would work:
 - most important, POST generetas response body, while ADDMEMBER would never.
I.e. POST is a mixture of PUT and GET, while ADDMEMBER would be a special case
of PUT.
 - with POST the data structure is not defined and is completely up to
the application.

> The new proposal addresses that feedback -- it makes POST usable for 
> WebDAV collections.
> 
> >Please, note, not everything on the earth "is WebDAV" and it seems
> >to mee that forcing using XML everywhere, even if it is not necessary
> >is simply an error (it leads to too complicated protocols and too
> >much overhead for implementing them...)
> 
> This is a proposal specifically for WebDAV. Thus I think it's totally 

Yes, and that's wrong, because this sort of action is genereal enough
to be used outside of the scope of WebDAV....

> acceptable that the information lives in WebDAV properties.
> 
> (That being said, I strongly disagree with the assumption that using XML 
> itself is a problem; see for instance AtomPub which uses exactly the 
> same approach)

It may be problem e.g. for embedded devices with very low resources
(have ever tried to implement something for 8bit MCU like Atmel AVR's?
But there are working implementations of TCP/HTTP stack for such small
devices; adding XML would perhaps double the code for such an implementation!)

> 
> BR, Julian

-- 
Petr Tomasek <http://www.etf.cuni.cz/~tomasek>
Jabber: butrus@jabbim.cz
SIP: butrus@ekiga.net