RE : [Ietf-caldav] comments on -03 schedule draft

Arnaud Quillaud <Arnaud.Quillaud@Sun.COM> Wed, 09 May 2007 13:22 UTC

Return-Path: <Arnaud.Quillaud@Sun.COM>
X-Original-To: ietf-caldav@osafoundation.org
Delivered-To: ietf-caldav@osafoundation.org
Received: from laweleka.osafoundation.org (laweleka.osafoundation.org [204.152.186.98]) by leilani.osafoundation.org (Postfix) with ESMTP id 503A67F7DE for <ietf-caldav@osafoundation.org>; Wed, 9 May 2007 06:22:39 -0700 (PDT)
Received: from localhost (laweleka.osafoundation.org [127.0.0.1]) by laweleka.osafoundation.org (Postfix) with ESMTP id 18F0B1422EF for <ietf-caldav@osafoundation.org>; Wed, 9 May 2007 06:21:44 -0700 (PDT)
X-Virus-Scanned: by amavisd-new and clamav at osafoundation.org
X-Spam-Score: -1.083
X-Spam-Level:
X-Spam-Status: No, score=-1.083 tagged_above=-50 required=4 tests=[AWL=1.515, BAYES_00=-2.599, UNPARSEABLE_RELAY=0.001]
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 3HN4c6BH9ZHE for <ietf-caldav@osafoundation.org>; Wed, 9 May 2007 06:21:41 -0700 (PDT)
Received: from gmp-ea-fw-1.sun.com (gmp-ea-fw-1.sun.com [192.18.1.36]) by laweleka.osafoundation.org (Postfix) with ESMTP id 418A01422EE for <ietf-caldav@osafoundation.org>; Wed, 9 May 2007 06:21:41 -0700 (PDT)
Received: from d1-emea-09.sun.com ([192.18.2.119]) by gmp-ea-fw-1.sun.com (8.13.6+Sun/8.12.9) with ESMTP id l49DLdVT019504 for <ietf-caldav@osafoundation.org>; Wed, 9 May 2007 13:21:40 GMT
Received: from conversion-daemon.d1-emea-09.sun.com by d1-emea-09.sun.com (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) id <0JHR00801ZKWSO00@d1-emea-09.sun.com> (original mail from Arnaud.Quillaud@Sun.COM) for ietf-caldav@osafoundation.org; Wed, 09 May 2007 14:21:39 +0100 (BST)
Received: from KONE-JHY8LIXZ2A.Sun.COM ([129.150.116.246]) by d1-emea-09.sun.com (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTPSA id <0JHR007G5ZS2P6C6@d1-emea-09.sun.com>; Wed, 09 May 2007 14:21:39 +0100 (BST)
Content-return: prohibited
Date: Wed, 09 May 2007 15:21:58 +0200
From: Arnaud Quillaud <Arnaud.Quillaud@Sun.COM>
Subject: RE : [Ietf-caldav] comments on -03 schedule draft
In-reply-to: <46291080.5050108@oracle.com>
Sender: Arnaud.Quillaud@Sun.COM
To: Bernard Desruisseaux <bernard.desruisseaux@oracle.com>
Message-id: <0JHR007G7ZS2P6C6@d1-emea-09.sun.com>
MIME-version: 1.0
X-Mailer: Sun Outlook Connector 7.2.310.1
Content-type: TEXT/PLAIN; CHARSET="Windows-1252"
Content-transfer-encoding: quoted-printable
Cc: ietf-caldav@osafoundation.org
X-BeenThere: ietf-caldav@osafoundation.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussions on Calendar Access protocol based on WebDAV <ietf-caldav.osafoundation.org>
List-Unsubscribe: <http://lists.osafoundation.org/mailman/listinfo/ietf-caldav>, <mailto:ietf-caldav-request@osafoundation.org?subject=unsubscribe>
List-Archive: <http://lists.osafoundation.org/pipermail/ietf-caldav>
List-Post: <mailto:ietf-caldav@osafoundation.org>
List-Help: <mailto:ietf-caldav-request@osafoundation.org?subject=help>
List-Subscribe: <http://lists.osafoundation.org/mailman/listinfo/ietf-caldav>, <mailto:ietf-caldav-request@osafoundation.org?subject=subscribe>
X-List-Received-Date: Wed, 09 May 2007 13:22:39 -0000

> > 
> > 
> > "6.1.4. Response to a POST request" 
> > 
> (http://tools.ietf.org/html/draft-desruisseaux-caldav-sched-03
> #section-6.1.4)
> > 
> --------------------------------------------------------------
> --------------------------------------------------
> > 
> > In the case of invite/response, given that the scheduling server is 
> > not really doing any iTIP processing, it sounds weird to me that we 
> > use the iTIP status to convey the result of something that more or 
> > less correspond to doing a PUT in each recipient's inbox.
> > 
> 
> We figured that the HTTP status code were not appropriate 

Could you elaborate ? 
The operation more or less comes down to doing a PUT in each recipient's inbox. This type of operation is likely to return an HTTP Status (e.g. 507 User over quota).
It has not much to do with iTIP at that point.

> here, and that there were some iCalendar REQUEST-STATUS 
> values that made sense 

Quite a few don't. 

Some of them have a CalDAV precondition equivalent ((CALDAV:supported-calendar-data), (CALDAV:valid-calendar-data), (CALDAV:supported-calendar-component), (CALDAV:max-resource-size), CALDAV:min-date-time), CALDAV:max-date-time), (CALDAV:max-instances), (CALDAV:max-attendees-per-instance)).


> plus the fact that we can extended the 
> set of REQUEST-STATUS values if we need too.

The same can be said for WebDAV <error> subelements. Can't we define new pre/post conditions ?

And actually, the <C:request-status> could be wrapped in an <error> in case of an iTip related failure.

...

> > 
> > Attachments:
> > -----------
> > 
> > The CalDAV base spec has a section on 
> > 
> attachments(http://tools.ietf.org/html/rfc4791#section-8.5). While it 
> > leaves the door opened to many contradicting 
> implementations, at least 
> > it is there.
> > 
> > When doing scheduling, being able to send attachments along with an 
> > invitation seems to me like a P1 functionality. Has this been 
> > discussed already ?
> > 
> > A possible solution would be to allow POST to be of type 
> > multipart/mixed containing one and only one iTIP message 
> (only in the 
> > case of a REQUEST). If the server supports calendar-access on the 
> > inbox/outbox, it would have to treat those as if they 
> contained only 
> > the iTIP message.
> 
> Why not send the attachment inline in the iCalendar object?
> 

I guess, for the same reasons that caused iCalendar to define both inline (BINARY) and external (URL) types of attachments, *external* being the default. CalDAV itself describes some of the drawback of inline attachments (http://tools.ietf.org/html/rfc4791#section-8.5.1).

Some real life scenario:
* as an invitee, I don't want to have to download a 20Mb invitation, just to discover that I'm not going to attend the meeting.
* if a invitation to 30 people containing a 20Mb attachment is rescheduled 10 times, we have a lot of data being posted/fetched for no good reason.

Allowing multipart/mixed as I suggested earlier would not help much in the first scenario since HTTP/WebDAV does not offer any mean to selectively GET a body part à la IMAP. It would not help at all in the second...


I now start to feel why the subject has not been covered... but I still think it is a P1 feature for a group scheduling server !

Arnaud Q