Re: [Ietf-caldav] Last Call comment on Etag requirements in draft-dusseault-caldav-12

Lisa Dusseault <lisa@osafoundation.org> Thu, 27 April 2006 20:26 UTC

Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com) by megatron.ietf.org with esmtp (Exim 4.43) id 1FZD4A-0002HA-9Q; Thu, 27 Apr 2006 16:26:22 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org) by megatron.ietf.org with esmtp (Exim 4.43) id 1FZD48-0002Gc-Hp for ietf@ietf.org; Thu, 27 Apr 2006 16:26:20 -0400
Received: from laweleka.osafoundation.org ([204.152.186.98]) by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1FZD46-0000Te-2i for ietf@ietf.org; Thu, 27 Apr 2006 16:26:20 -0400
Received: from localhost (localhost [127.0.0.1]) by laweleka.osafoundation.org (Postfix) with ESMTP id 4849A142291; Thu, 27 Apr 2006 13:26:13 -0700 (PDT)
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 31116-07; Thu, 27 Apr 2006 13:26:10 -0700 (PDT)
Received: from [192.168.1.100] (c-67-161-46-163.hsd1.ca.comcast.net [67.161.46.163]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by laweleka.osafoundation.org (Postfix) with ESMTP id 8BC7214228A; Thu, 27 Apr 2006 13:26:10 -0700 (PDT)
In-Reply-To: <44509D3B.4050503@gmx.de>
References: <D58B890CEBB86771C83E8401@Cyrus-Daboo.local> <443FAB85.8030503@gmx.de> <7246CAD3-9329-4B34-8D23-08B196E80EDE@osafoundation.org> <443FEF47.3050406@gmx.de> <5FD8AADA-F91A-4B1F-9453-01178901DB6F@osafoundation.org> <443FF7B9.3050801@gmx.de> <7D5DE367-5FD8-4398-849D-2158EF6BC256@osafoundation.org> <443FFE81.6010605@gmx.de> <CD95571B-E80E-4DA4-A522-23C0647CF6B6@osafoundation.org> <4440AC2D.2050802@gmx.de> <44509D3B.4050503@gmx.de>
Mime-Version: 1.0 (Apple Message framework v746.2)
Content-Type: text/plain; charset="US-ASCII"; delsp="yes"; format="flowed"
Message-Id: <DBB5A293-8F91-4E39-BE97-B6BD5236F5A3@osafoundation.org>
Content-Transfer-Encoding: 7bit
From: Lisa Dusseault <lisa@osafoundation.org>
Date: Thu, 27 Apr 2006 13:25:54 -0700
To: Julian Reschke <julian.reschke@gmx.de>
X-Mailer: Apple Mail (2.746.2)
X-Virus-Scanned: by amavisd-new and clamav at osafoundation.org
X-Spam-Score: 0.0 (/)
X-Scan-Signature: c0bedb65cce30976f0bf60a0a39edea4
Cc: ietf@ietf.org, CalDAV DevList <ietf-caldav@osafoundation.org>
Subject: Re: [Ietf-caldav] Last Call comment on Etag requirements in draft-dusseault-caldav-12
X-BeenThere: ietf@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: IETF-Discussion <ietf.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/ietf>, <mailto:ietf-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:ietf@ietf.org>
List-Help: <mailto:ietf-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/ietf>, <mailto:ietf-request@ietf.org?subject=subscribe>
Errors-To: ietf-bounces@ietf.org

Thanks for the input.  Speaking as a document author here, I'm  
confident we've made a decent set of tradeoffs, balancing possible  
risks against benefits, and attempting to minimize the risks too.

The basic risk is that any requirements related to ETags may conflict  
with future requirements.  We've attempted to minimize this risk by  
making only one requirement -- that servers MUST NOT return strong  
ETags if they have changed the data provided to be stored.  We  
believe that this requirement is quite within the spirit of ETag  
design.   We didn't make any requirements about weak ETags, nor did  
we require any behavior that future specs might make illegal.  Since  
today with HTTP it's perfectly acceptable not to return an ETag at  
all, future requirements on ETags would at least have to work with a  
huge deployed base of HTTP servers that don't return any ETag on PUT  
responses.

Thus, any future ETag-related requirements that invalidated this  
CalDAV requirement, would also conflict with the huge deployed base  
of HTTP.  I find that sufficiently unlikely as to be an acceptable  
risk to take.  Any standard we write has some risk of making  
requirements that are in conflict with future spec requirements and  
so we always take this kind of risk.

I do hope that new work on ETags and PUT will clarify this situation  
further for all protocols, and if it becomes desirable to re-issue  
CalDAV to make use of that general work, I'll be happy to re-issue it.

Lisa

On Apr 27, 2006, at 3:30 AM, Julian Reschke wrote:

> Hi,
>
> I note that draft 12 of caldav still makes requirements that are  
> potentially incompatible with HTTP:
>
> Quoting <http://greenbytes.de/tech/webdav/draft-dusseault- 
> caldav-12.html#rfc.section.5.3.4.p.4>:
>
> "In the case where the data stored by a server as a result of a PUT  
> request is not equivalent by octet equality to the submitted  
> calendar object resource, the behavior of the ETag response header  
> is undefined, with the exception that a strong entity tag MUST NOT  
> be returned in the response. As a result, clients may need to  
> retrieve the modified calendar object resource (and ETag) as a  
> basis for further changes, rather than use the calendar object  
> resource it had sent with the PUT request."
>
> This is a requirement that is not in RFC2616. Adding this to CalDav  
> may make it impossible to implement resources that are both  
> compliant to CalDav and other HTTP based specifications (which may  
> have a different opinion about ETags in PUT responses).
>
> If CalDav clients *really* require knowledge about this situation,  
> please define it in a way that will not potentially be in conflict  
> with other specifications, such as by adding a *new* response  
> header, indicating that content was not rewritten (as proposed in  
> <http://lists.osafoundation.org/pipermail/ietf-caldav/2006-April/ 
> 000787.html> two weeks ago).
>
> Best regards, Julian
>
> _______________________________________________
> Ietf-caldav mailing list -- Ietf-caldav@osafoundation.org
> See http://ietf.webdav.org/caldav/ for more CalDAV resources
> http://lists.osafoundation.org/mailman/listinfo/ietf-caldav


_______________________________________________
Ietf mailing list
Ietf@ietf.org
https://www1.ietf.org/mailman/listinfo/ietf