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

Ken Murchison <murch@andrew.cmu.edu> Wed, 17 May 2017 13:07 UTC

Return-Path: <murch@andrew.cmu.edu>
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 31EF012EB53; Wed, 17 May 2017 06:07:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.501
X-Spam-Level:
X-Spam-Status: No, score=-1.501 tagged_above=-999 required=5 tests=[BAYES_50=0.8, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-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 Ymnj9aZWULZR; Wed, 17 May 2017 06:07:07 -0700 (PDT)
Received: from smtp.andrew.cmu.edu (SMTP.ANDREW.CMU.EDU [128.2.105.202]) (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 775791294B7; Wed, 17 May 2017 06:07:07 -0700 (PDT)
Received: from [192.168.1.22] (cpe-74-77-85-250.buffalo.res.rr.com [74.77.85.250]) (user=murch mech=PLAIN (0 bits)) by smtp.andrew.cmu.edu (8.15.2/8.15.2) with ESMTPSA id v4HD723i019793 (version=TLSv1.2 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 17 May 2017 09:07:03 -0400
To: Julian Reschke <julian.reschke@gmx.de>, IETF Discussion <ietf@ietf.org>, art@ietf.org
References: <c04f39e2-79d2-ab9d-59ab-26e51d7ab5fc@gmx.de> <81613220-989b-ca78-fe56-0ac7b19e7ce6@andrew.cmu.edu> <b2a4924d-c7c9-b40b-484f-9fab48bfe5de@gmx.de>
From: Ken Murchison <murch@andrew.cmu.edu>
Organization: Carnegie Mellon University
Message-ID: <a603f3de-2d96-6f86-e0c3-3e0a4884a185@andrew.cmu.edu>
Date: Wed, 17 May 2017 09:07:02 -0400
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.0
MIME-Version: 1.0
In-Reply-To: <b2a4924d-c7c9-b40b-484f-9fab48bfe5de@gmx.de>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Transfer-Encoding: 7bit
Content-Language: en-US
X-PMX-Version: 6.3.0.2556906, Antispam-Engine: 2.7.2.2107409, Antispam-Data: 2017.5.17.125716
X-SMTP-Spam-Clean: 33% ( SXL_IP_DYNAMIC 3, TO_IN_SUBJECT 0.5, HTML_00_01 0.05, HTML_00_10 0.05, BODYTEXTP_SIZE_3000_LESS 0, BODY_SIZE_2000_2999 0, BODY_SIZE_5000_LESS 0, BODY_SIZE_7000_LESS 0, DATE_TZ_NA 0, FROM_EDU_TLD 0, IN_REP_TO 0, LEGITIMATE_SIGNS 0, MSG_THREAD 0, NO_CTA_URI_FOUND 0, NO_URI_FOUND 0, NO_URI_HTTPS 0, RDNS_GENERIC_POOLED 0, RDNS_POOLED 0, RDNS_RESIDENTIAL 0, RDNS_SUSP 0, RDNS_SUSP_GENERIC 0, RDNS_SUSP_SPECIFIC 0, REFERENCES 0, __BOUNCE_CHALLENGE_SUBJ 0, __BOUNCE_NDR_SUBJ_EXEMPT 0, __CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __FORWARDED_MSG 0, __HAS_FROM 0, __HAS_MSGID 0, __IN_REP_TO 0, __MIME_TEXT_ONLY 0, __MIME_TEXT_P 0, __MIME_TEXT_P1 0, __MIME_VERSION 0, __MOZILLA_USER_AGENT 0, __NO_HTML_TAG_RAW 0, __PHISH_SPEAR_STRUCTURE_1 0, __RDNS_POOLED_1 0, __REFERENCES 0, __SANE_MSGID 0, __SUBJ_ALPHA_NEGATE 0, __TO_IN_SUBJECT2 0, __TO_MALFORMED_2 0, __TO_NAME 0, __TO_NAME_DIFF_FROM_ACC 0, __TO_REAL_NAMES 0, __USER_AGENT 0)
X-SMTP-Spam-Score: 33%
X-Scanned-By: MIMEDefang 2.78 on 128.2.105.202
Archived-At: <https://mailarchive.ietf.org/arch/msg/art/oxLTbFiauod3GfWUgl9qe3SyScs>
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:07:09 -0000


On 05/15/2017 12:04 PM, Julian Reschke wrote:
> On 2017-05-15 16:03, Ken Murchison wrote:
>> Hi Julian,
>>
>> Thanks for the review.  Comments inline.
>>
>>
>> On 05/14/2017 10:23 AM, Julian Reschke wrote:
>>> Reviewer: Julian Reschke
>>> Review result: Not Ready
>>>
>>> Document: draft-ietf-calext-caldav-attachments-02
>>> IETF LC End Date: 2017-05-14
>>> IESG Telechat date: 2017-05-25
>>>
>>> This document describes attachment handling in CalDAV (WebDAV based
>>> calendaring).
>>>
>>> The mechanism described by this document is essential RPCish, using
>>> HTTP POST for tunneling. It will work in practice, but it definitively
>>> isn't state of the art in IETF protocols, in particular in an
>>> otherwise WebDAV/CalDAV-based ecosystem.
>>>
>>> Major issues:
>>>
>>> The main issue with this specification is that it
>>>
>>> 1) models operations on attachments as POST operations, where the
>>> actual type of operation is specified using a query parameter, instead
>>> of using the HTTP methods POST, PUT, and DELETE.
>>
>> The resource being acted upon is an actual calendar resource, which is
>> already in place.  The attachments are meta-data associated with one or
>
> 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.



>> more calendar resources, which is why a POST is used on the calendar
>> resource to manipulate an attachment.  Can you explain how you would
>> envision different HTTP methods be used to add/update/delete an
>> attachment associated with a calendar resource?
>
> For adding, I would define an HTTP resource that can be posted to. It 
> could be discovered through a WebDAV property.

We could certainly define a template or series of templates for 
add/update/delete and expose them as WebDAV properties.


-- 
Kenneth Murchison
Principal Systems Software Engineer
Carnegie Mellon University