Re: [Ietf-caldav] I-D ACTION:draft-dusseault-caldav-11.txt (fwd)

Julian Reschke <julian.reschke@gmx.de> Sat, 15 April 2006 08:19 UTC

Return-Path: <julian.reschke@gmx.de>
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 CE3B17F8C8 for <ietf-caldav@osafoundation.org>; Sat, 15 Apr 2006 01:19:40 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by laweleka.osafoundation.org (Postfix) with ESMTP id BF8E4142258 for <ietf-caldav@osafoundation.org>; Sat, 15 Apr 2006 01:19:40 -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 07367-03 for <ietf-caldav@osafoundation.org>; Sat, 15 Apr 2006 01:19:39 -0700 (PDT)
Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by laweleka.osafoundation.org (Postfix) with SMTP id AB295142262 for <ietf-caldav@osafoundation.org>; Sat, 15 Apr 2006 01:19:38 -0700 (PDT)
Received: (qmail invoked by alias); 15 Apr 2006 08:19:36 -0000
Received: from p508FC3DC.dip0.t-ipconnect.de (EHLO [192.168.178.21]) [80.143.195.220] by mail.gmx.net (mp032) with SMTP; 15 Apr 2006 10:19:36 +0200
X-Authenticated: #1915285
Message-ID: <4440AC2D.2050802@gmx.de>
Date: Sat, 15 Apr 2006 10:17:49 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Thunderbird 1.5 (Windows/20051201)
MIME-Version: 1.0
To: Lisa Dusseault <lisa@osafoundation.org>
Subject: Re: [Ietf-caldav] I-D ACTION:draft-dusseault-caldav-11.txt (fwd)
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>
In-Reply-To: <CD95571B-E80E-4DA4-A522-23C0647CF6B6@osafoundation.org>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
X-Virus-Scanned: by amavisd-new and clamav at osafoundation.org
X-Spam-Status: No, hits=-1.5 tagged_above=-50.0 required=4.0 tests=AWL, BAYES_00
X-Spam-Level:
Cc: CalDAV DevList <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: Sat, 15 Apr 2006 08:19:41 -0000

Lisa Dusseault wrote:
> 
> On Apr 14, 2006, at 12:56 PM, Julian Reschke wrote:
> 
>> Lisa Dusseault wrote:
>>> On Apr 14, 2006, at 12:27 PM, Julian Reschke wrote:
>>>> Lisa Dusseault wrote:
>>>>> Unfortunately, that just does not solve the problem for CalDAV, 
>>>>> which is likely to have interoperability problems if we don't make 
>>>>> firm
>>>>
>>>> ...such as...?
>>> The near certainty, from talking to implementors, that some CalDAV 
>>> servers will add their own iCalendar properties to the body of the 
>>> iCalendar resources that clients create, and the undesirability of 
>>> clients always having to do GET after a PUT just to see whether this 
>>> in fact happened.  If we don't explain how to see whether this didn't
>>
>> Why would they need to do that?
> 
> Usually it's a bunch of concerns for backward compatibility with 
> existing systems -- e.g. compatibility with a limited set of timezone 
> definitions.  Timezones complicate this problem, as with so many other 
> problems.

Misunderstanding. What I meant was: why would the client need to know 
whether the server rewrote the entry? This would only be relevant if 
clients use an ETag returned upon PUT for a conditional GET with byte 
range header afterwards.

>>> happen, some clients might always do a GET (poor performance) and 
>>> others might always not (poor interoperability).
>>
>> Just tell clients to do conditional GETs with the cache validator they 
>> got upon PUT. The client may not have the same content octet-for-octet 
>> as the server, but besides that I see no problem (yet).
> 
> Yes, but that's exactly it, there's confusion about what the cache 
> validator they got upon PUT means, or in what cases the server is 
> allowed to return it.   Many clients cache calendar items for offline 
> use, and if the server has added its own custom properties or modified 
> data, that may well need to be available offline as well.

Currently, there's no way to find out. If this is a requirement, CalDAV 
will either have to rely on draft-whitehead-http-etag solving that 
problem, or come up with its own solution.

I'd prefer the former approach, because solving this once and for all 
HTTP based specs certainly is better.

If CalDAV wants to do its own thing, it must make sure that it doesn't 
contradict other specs, on which it builds or that servers may want to 
implement in parallel with CalDAV. A safe way to do that for now would 
be to add a new response header that contains just that piece of 
information, such as:

	X-Content-Rewritten: "T" / "F"

Best regards, Julian