Re: [Technical Errata Reported] RFC7232 (5236)

Amos Jeffries <squid3@treenet.co.nz> Wed, 17 January 2018 10:31 UTC

Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@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 0FD3812FB1C for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 17 Jan 2018 02:31:17 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.661
X-Spam-Level:
X-Spam-Status: No, score=-6.661 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.25, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] 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 F4DZSvHKeUTO for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 17 Jan 2018 02:31:13 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (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 4163B12FB0B for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 17 Jan 2018 02:31:08 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.89) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1ebkxf-0003d1-Qp for ietf-http-wg-dist@listhub.w3.org; Wed, 17 Jan 2018 10:28:51 +0000
Resent-Date: Wed, 17 Jan 2018 10:28:51 +0000
Resent-Message-Id: <E1ebkxf-0003d1-Qp@frink.w3.org>
Received: from titan.w3.org ([128.30.52.76]) by frink.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from <squid3@treenet.co.nz>) id 1ebkxY-0003bk-G6 for ietf-http-wg@listhub.w3.org; Wed, 17 Jan 2018 10:28:44 +0000
Received: from [121.99.228.82] (helo=treenet.co.nz) by titan.w3.org with esmtp (Exim 4.89) (envelope-from <squid3@treenet.co.nz>) id 1ebkxV-0000H9-IY for ietf-http-wg@w3.org; Wed, 17 Jan 2018 10:28:43 +0000
Received: from [192.168.137.92] (unknown [121.98.40.32]) by treenet.co.nz (Postfix) with ESMTPA id 121DA660110 for <ietf-http-wg@w3.org>; Wed, 17 Jan 2018 23:28:10 +1300 (NZDT)
To: ietf-http-wg@w3.org
References: <20180116155124.07618B81F2B@rfc-editor.org> <55475510-2367-435F-8719-77DFBACADE5C@gbiv.com> <1516134882.3375943.1237594864.4C01254F@webmail.messagingengine.com> <9980D6D1-D760-45CB-82D8-8BDBF7445FE8@gbiv.com>
From: Amos Jeffries <squid3@treenet.co.nz>
Message-ID: <e765f7de-f3e9-91c0-9d02-81155372c41f@treenet.co.nz>
Date: Wed, 17 Jan 2018 23:28:09 +1300
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2
MIME-Version: 1.0
In-Reply-To: <9980D6D1-D760-45CB-82D8-8BDBF7445FE8@gbiv.com>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Language: en-US
Content-Transfer-Encoding: 8bit
X-W3C-Hub-Spam-Status: No, score=-4.1
X-W3C-Hub-Spam-Report: AWL=-1.029, BAYES_00=-1.9, RDNS_NONE=0.793, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, W3C_AA=-1, W3C_WL=-1
X-W3C-Scan-Sig: titan.w3.org 1ebkxV-0000H9-IY 3d1ab0deb221a306ef1c1ef99a80d542
X-Original-To: ietf-http-wg@w3.org
Subject: Re: [Technical Errata Reported] RFC7232 (5236)
Archived-At: <https://www.w3.org/mid/e765f7de-f3e9-91c0-9d02-81155372c41f@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/35019
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: <https://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

On 17/01/18 10:25, Roy T. Fielding wrote:
> 
>> On Jan 16, 2018, at 12:34 PM, Chris Pacejo wrote:
>>
>> Hi Roy and Julian, thanks for the replies.
>>
>>> On Tue, Jan 16, 2018, at 2:33 PM, Roy T. Fielding wrote:
>>> The Original Text is about weak validators, which don't even require that
>>> the content be the same. The two do not conflict.  The suggested change
>>> would be incorrect.
>>
>> The specific text which confuses me, from the section on weak validators, is (emphasis mine):
>>
>> "However, two simultaneous representations might share the same *strong* validator if they differ only in the representation metadata, such as when two different media types are available for the same representation data."
>>
>> Am I misunderstanding that this is in conflict with the example you gave?  (text/plain and application/json representations with same octets must have different strong validators.)
>>
>> Similarly:
>>
>> "Likewise, a validator is weak if it is shared by two or more representations of a given resource at the same time, unless those representations have identical representation data."
>>
>> The "unless" clause would appear to apply to the example you gave, implying that both representations can have the same validator but need not be weak.
> 
> Yes, it does in both cases. The only distinction between weak and strong validation is that strong can be used for partial updates of the body. That’s why the metadata doesn’t matter. If the server wants the metadata to matter, it has to construct a validator (etag) accordingly to be better than just strong.
> 
> ....Roy
> 

If a visualization helps, it is a 2x3 grid of possibilities:

  ...... | meta    | representation |
  weak   | varies  | varies         |
  strong | varies  | fixed          |
  better | fixed   | fixed          |


Amos