Re: [art] ART Area Review for draft-ietf-calext-caldav-attachments-02

Cyrus Daboo <cyrus@daboo.name> Wed, 17 May 2017 13:59 UTC

Return-Path: <cyrus@daboo.name>
X-Original-To: art@ietfa.amsl.com
Delivered-To: art@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 528C5129BCE; Wed, 17 May 2017 06:59:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.004
X-Spam-Level:
X-Spam-Status: No, score=-0.004 tagged_above=-999 required=5 tests=[BAYES_40=-0.001, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZgetMk6RsFwh; Wed, 17 May 2017 06:59:52 -0700 (PDT)
Received: from daboo.name (daboo.name [173.13.55.49]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D9FB3128656; Wed, 17 May 2017 06:53:47 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by daboo.name (Postfix) with ESMTP id 210C86D53811; Wed, 17 May 2017 09:53:47 -0400 (EDT)
X-Virus-Scanned: amavisd-new at daboo.name
Received: from daboo.name ([127.0.0.1]) by localhost (daboo.name [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tBeP1xenGJ55; Wed, 17 May 2017 09:53:46 -0400 (EDT)
Received: from caldav.corp.apple.com (unknown [17.44.178.52]) by daboo.name (Postfix) with ESMTPSA id 1D9ED6D53802; Wed, 17 May 2017 09:53:46 -0400 (EDT)
Date: Wed, 17 May 2017 09:53:44 -0400
From: Cyrus Daboo <cyrus@daboo.name>
To: Ken Murchison <murch@andrew.cmu.edu>, Julian Reschke <julian.reschke@gmx.de>, IETF Discussion <ietf@ietf.org>, art@ietf.org
Message-ID: <D109686063172A99C2FDEFC9@caldav.corp.apple.com>
In-Reply-To: <a603f3de-2d96-6f86-e0c3-3e0a4884a185@andrew.cmu.edu>
References: <c04f39e2-79d2-ab9d-59ab-26e51d7ab5fc@gmx.de> <81613220-989b-ca78-fe56-0ac7b19e7ce6@andrew.cmu.edu> <b2a4924d-c7c9-b40b-484f-9fab48bfe5de@gmx.de> <a603f3de-2d96-6f86-e0c3-3e0a4884a185@andrew.cmu.edu>
X-Mailer: Mulberry/4.1.0b1 (Mac OS X)
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format="flowed"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; size="1174"
Archived-At: <https://mailarchive.ietf.org/arch/msg/art/MZ6Y2lwIX4NqQdz1zGMEphBy51o>
Subject: Re: [art] ART Area Review for draft-ietf-calext-caldav-attachments-02
X-BeenThere: art@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Applications and Real-Time Area Discussion <art.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/art>, <mailto:art-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/art/>
List-Post: <mailto:art@ietf.org>
List-Help: <mailto:art-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/art>, <mailto:art-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 17 May 2017 13:59:54 -0000

Hi Ken,

--On May 17, 2017 at 9:07:02 AM -0400 Ken Murchison <murch@andrew.cmu.edu> 
wrote:

>> Only for creation of the attachment. Once is has been created, it
>> should have its own URI, and the usual HTTP methods should be applicable.
>
> Using HTTP methods directly on the attachment URI makes things more
> difficult because the calendar resource(s) referencing the attachment
> also need to be updated.  This would have to be done either as a
> side-effect of the PUT/DELETE on the attachment, or as a separate PUT
> (and separate round-trips) on the resource(s).  The desire was to avoid
> doing either one of these, which is why a POST on the calendar resource
> was chosen as the method to add/update/delete an attachment from a
> calendar resource.

One tricky aspect here is that calendar servers may not "host" the 
attachments themselves - i.e., they could use a separate "drop box" service 
to store the resources. In that case it is important that changes to the 
attachments are always managed through the calendar server so that it can 
alert clients via changes to the calendar data whenever an attachment is 
added, changed, or removed.

-- 
Cyrus Daboo