Re: draft-murchison-webdav-prefer

James M Snell <jasnell@gmail.com> Thu, 18 December 2014 15:55 UTC

Return-Path: <ietf-http-wg-request@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id EC8CC1A8ABF for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 18 Dec 2014 07:55:33 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.011
X-Spam-Level:
X-Spam-Status: No, score=-7.011 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham
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 Q9zPUgV5eZfw for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 18 Dec 2014 07:55:32 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id AB75A1A90C2 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 18 Dec 2014 07:55:30 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Y1dNa-0001BQ-BR for ietf-http-wg-dist@listhub.w3.org; Thu, 18 Dec 2014 15:52:42 +0000
Resent-Date: Thu, 18 Dec 2014 15:52:42 +0000
Resent-Message-Id: <E1Y1dNa-0001BQ-BR@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.80) (envelope-from <jasnell@gmail.com>) id 1Y1dNQ-0001AK-Te for ietf-http-wg@listhub.w3.org; Thu, 18 Dec 2014 15:52:32 +0000
Received: from mail-ie0-f182.google.com ([209.85.223.182]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1Y1dNP-0007La-Kl for ietf-http-wg@w3.org; Thu, 18 Dec 2014 15:52:32 +0000
Received: by mail-ie0-f182.google.com with SMTP id x19so1324121ier.41 for <ietf-http-wg@w3.org>; Thu, 18 Dec 2014 07:52:05 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=cfFQ1oDrZ5lNwfdoYdTd2qrZuSSAUrp19vFnq8bBPUA=; b=UZNyvCVHfeSwBEaZCZmReNeVxQ3U4Y7/OhyhyxLTB/SfTLErs9EsiCeMrRcPb+OJUd QcbGqe/qf36IUyViz8q6R6iYxLstzj9l0ApTbjfd48OhlfzGFx18igKfh+7UjzmQJR9b hxaWkbvk/CQG6Js8DRu98ciBerK/Pmd85702xtRDRPsniS084wC0zPTp65mstEIwq52i XMku9Czrz5cK6YRf4VuoKXNrEmsJrlze/LwzjAhAvgOgJWSeSVyDgKNdZiW0bCNaHp/D 2APgLKFDluLaOxynlKpn0CoSKG9HfMDIJ+BtkH2C/SghGfcBa5eUwyshpuA65l71Eo/6 i07Q==
MIME-Version: 1.0
X-Received: by 10.42.204.139 with SMTP id fm11mr2551862icb.87.1418917925867; Thu, 18 Dec 2014 07:52:05 -0800 (PST)
Received: by 10.107.28.11 with HTTP; Thu, 18 Dec 2014 07:52:05 -0800 (PST)
Received: by 10.107.28.11 with HTTP; Thu, 18 Dec 2014 07:52:05 -0800 (PST)
In-Reply-To: <5492F15E.8080101@andrew.cmu.edu>
References: <5492F15E.8080101@andrew.cmu.edu>
Date: Thu, 18 Dec 2014 07:52:05 -0800
Message-ID: <CABP7RbfrGXG7JU=+HM-GcssOmshfhkae5kv5bhZ7VLofnVLcPQ@mail.gmail.com>
From: James M Snell <jasnell@gmail.com>
To: Ken Murchison <murch@andrew.cmu.edu>
Cc: ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary="20cf303dda18efd91d050a7f924b"
Received-SPF: pass client-ip=209.85.223.182; envelope-from=jasnell@gmail.com; helo=mail-ie0-f182.google.com
X-W3C-Hub-Spam-Status: No, score=-3.5
X-W3C-Hub-Spam-Report: AWL=-2.725, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, URIBL_BLOCKED=0.001
X-W3C-Scan-Sig: lisa.w3.org 1Y1dNP-0007La-Kl 0ebb886ebf46d46b44ed77de85d6b0f6
X-Original-To: ietf-http-wg@w3.org
Subject: Re: draft-murchison-webdav-prefer
Archived-At: <http://www.w3.org/mid/CABP7RbfrGXG7JU=+HM-GcssOmshfhkae5kv5bhZ7VLofnVLcPQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/28336
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

I think that behavior is acceptable. Please be sure to include the
Preference-Applied response header tho. Just to make it unambiguous.
On Dec 18, 2014 7:26 AM, "Ken Murchison" <murch@andrew.cmu.edu> wrote:

>  All,
>
> I'd like to get some feedback on draft-murchison-webdav-prefer
> <http://tools.ietf.org/html/draft-murchison-webdav-prefer-07> ,
> specifically Section 3
> <http://tools.ietf.org/html/draft-murchison-webdav-prefer-07#section-3>
> (the rest of the document is truly WebDAV specific).  Per a request from
> the Apple calendar client folks, we'd like to extend
> Prefer:return=representation
> <http://tools.ietf.org/html/rfc7240#section-4.2> to apply to a
> conditional PUT request that fails with a 412 (Precondition Failed)
> response.  This eliminates the need for a subsequent GET to fetch the
> current representation of a resource that failed to update because of a
> validator mismatch.  I view this as analogous to Get + If-Range.
>
> Does anyone see any issues with this new behavior?  Does it violate
> RFC7230-7232 in any way?  Are we allowed to extended return=representation
> to failure responses (RFC7240 only discusses success responses)?  Are there
> any other sane interpretations of a 412 response with a
> Preference-Applied:representation header field which would cause ambiguity
> for the client?
>
> Thanks and Happy Holidays!
> Ken
>
> --
> Kenneth Murchison
> Principal Systems Software Engineer
> Carnegie Mellon University
>
>