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

draft-reschke-webdav-post-04

From: Cyrus Daboo <cyrus@daboo.name>
Date: Thu, 05 Nov 2009 20:50:34 -0500
To: WebDAV <w3c-dist-auth@w3.org>
cc: CalDAV <ietf-caldav@osafoundation.org>, CardDAV <vcarddav@ietf.org>
Message-ID: <58AEB925BF64041770A3F3E6@socrates.local>
Hi,
I have heard from some implementors that they would like collection 
creation to also be part of this draft. In particular, CalDAV and/or 
CardDAV clients creating calendars or address books would prefer to leave 
specification of the resource name to the client.

Proposal:

- Add a DAV:add-collection property containing a URI (which must be 
different than DAV:add-member)
- A POST on that URI creates a collection within the parent collection, 
with a server chosen resource name
- If the POST contains an XML body with DAV:mkcol as the root element, then 
that body is interpreted the same way as MKCOL ext.

Comment:
For the Example in section 3.4 it might be better to have the request body 
contain text that is different from that in the Slug header to make it 
clear where the name the server chose is coming from.

-- 
Cyrus Daboo
Received on Friday, 6 November 2009 01:51:07 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 6 November 2009 01:51:08 GMT