W3C home > Mailing lists > Public > w3c-dist-auth@w3.org > October to December 2008

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

From: Petr Tomasek <tomasek@etf.cuni.cz>
Date: Sat, 18 Oct 2008 09:58:04 +0200
To: WebDAV <w3c-dist-auth@w3.org>
Message-ID: <20081018075804.GA17341@ebed.etf.cuni.cz>

> >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
Received on Saturday, 18 October 2008 07:59:27 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 2 June 2009 18:44:16 GMT