Re: WGLC: p4 MUSTs

Roy T. Fielding <fielding@gbiv.com> Fri, 23 August 2013 13:24 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 (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4DDBC11E80DC for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 23 Aug 2013 06:24:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level:
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vla5lk8gx-A2 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 23 Aug 2013 06:24:01 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 31AE111E80D2 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 23 Aug 2013 06:24:00 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1VCrK2-0004kX-Go for ietf-http-wg-dist@listhub.w3.org; Fri, 23 Aug 2013 13:22:38 +0000
Resent-Date: Fri, 23 Aug 2013 13:22:38 +0000
Resent-Message-Id: <E1VCrK2-0004kX-Go@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <fielding@gbiv.com>) id 1VCrJm-0004j4-Qz for ietf-http-wg@listhub.w3.org; Fri, 23 Aug 2013 13:22:22 +0000
Received: from caiajhbdcagg.dreamhost.com ([208.97.132.66] helo=homiemail-a16.g.dreamhost.com) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <fielding@gbiv.com>) id 1VCrJh-0006Y2-TJ for ietf-http-wg@w3.org; Fri, 23 Aug 2013 13:22:22 +0000
Received: from homiemail-a16.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a16.g.dreamhost.com (Postfix) with ESMTP id DDBC9508084; Fri, 23 Aug 2013 06:21:56 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gbiv.com; h=subject :mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; s=gbiv.com; bh=2p0ny19WG8uizy5smoHpth6EcNc=; b=l4613yAxY6QWLAOZ+CbNwjTncVWM VquBPVgSOiGd6o2rMCA0EMRHSTQ3WGQ3u6HVcYsnW1gWNAiqv8wIANFGhTjVwnBd G/6Bp1v2obxMH6dMD9SkO307LZ2POeW56HtzPDCfksJxPndcmmjJlsTT9KKCHABQ YgCk68Fx9E+Qs/I=
Received: from [192.168.1.84] (99-21-208-82.lightspeed.irvnca.sbcglobal.net [99.21.208.82]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: fielding@gbiv.com) by homiemail-a16.g.dreamhost.com (Postfix) with ESMTPSA id BD580508063; Fri, 23 Aug 2013 06:21:56 -0700 (PDT)
Mime-Version: 1.0 (Apple Message framework v1283)
Content-Type: text/plain; charset="windows-1252"
From: "Roy T. Fielding" <fielding@gbiv.com>
In-Reply-To: <518062CA.6030301@measurement-factory.com>
Date: Fri, 23 Aug 2013 06:22:00 -0700
Cc: IETF HTTP WG <ietf-http-wg@w3.org>
Content-Transfer-Encoding: 7bit
Message-Id: <680A2211-358C-4BAF-BA77-1D199D3F33F2@gbiv.com>
References: <D69329FD-7456-46C5-BE24-6E7EE7E48C39@mnot.net> <518062CA.6030301@measurement-factory.com>
To: Alex Rousskov <rousskov@measurement-factory.com>
X-Mailer: Apple Mail (2.1283)
Received-SPF: none client-ip=208.97.132.66; envelope-from=fielding@gbiv.com; helo=homiemail-a16.g.dreamhost.com
X-W3C-Hub-Spam-Status: No, score=-3.5
X-W3C-Hub-Spam-Report: AWL=-3.438, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001
X-W3C-Scan-Sig: maggie.w3.org 1VCrJh-0006Y2-TJ ee38b71395de08c5a5a6f84e131dd421
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WGLC: p4 MUSTs
Archived-At: <http://www.w3.org/mid/680A2211-358C-4BAF-BA77-1D199D3F33F2@gbiv.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/19325
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>

On Apr 30, 2013, at 5:33 PM, Alex Rousskov wrote:

>> The If-Match condition is met if and only if any of the entity-tags
>> listed in the If-Match field value match the entity-tag of the
>> selected representation using the weak comparison function (as per
>> Section 2.3.2), or if "*" is given and any current representation
>> exists for the target resource.
> 
> The "if and only if ... or if ..." construction looks funny. It is kind
> of correct because the first part applies to the non-* condition and the
> second part applies to the * condition, but still... Please consider
> dropping either "and only if" or the "if" in "or if".

Okay.

> Can a proxy with an empty cache determine whether "any current
> representation exists for the target resource" without forwarding the
> request to the origin server? In other words, does "exists" mean "exists
> in the proxy cache" or "exists on the origin server"? Perhaps you can
> add some test to clarify the scope of resource existence here from the
> caching proxy point of view.

Replaced with "has a representation" (and related changes).

> The same two concerns apply to the If-None-Match section.

Fixed.

> Here is a list of requirement-like statements that seem to be missing
> MUST/SHOULD/MAY keywords to make them formal requirements and indicate
> the level of those requirements:
> 
>> Preconditions are ignored if the server determines that an error or
>> redirect response applies before they are evaluated.

Fixed.

>> The conditional request header fields defined by this specification
>> are ignored for request methods that never involve the selection or
>> modification of a selected representation

Fixed.

>> The general rule of conditional precedence is that exact match
>> conditions are ...
> 
>> Specifically, the fields defined by this specification are evaluated
>> as follows:

Fixed.

http://trac.tools.ietf.org/wg/httpbis/trac/changeset/2361

....Roy