Re: [Technical Errata Reported] RFC7232 (5236)

"Roy T. Fielding" <fielding@gbiv.com> Tue, 16 January 2018 19:36 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 BD1E1127136 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 16 Jan 2018 11:36:26 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.761
X-Spam-Level:
X-Spam-Status: No, score=-6.761 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, 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
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=gbiv.com
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 wJ7_iWkVQJdF for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 16 Jan 2018 11:36:25 -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 0FDCE12EAB7 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 16 Jan 2018 11:36:15 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.89) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1ebWzn-00087d-12 for ietf-http-wg-dist@listhub.w3.org; Tue, 16 Jan 2018 19:34:07 +0000
Resent-Date: Tue, 16 Jan 2018 19:34:07 +0000
Resent-Message-Id: <E1ebWzn-00087d-12@frink.w3.org>
Received: from mimas.w3.org ([128.30.52.79]) by frink.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from <fielding@gbiv.com>) id 1ebWzf-00086p-Ig for ietf-http-wg@listhub.w3.org; Tue, 16 Jan 2018 19:33:59 +0000
Received: from sub5.mail.dreamhost.com ([208.113.200.129] helo=homiemail-a94.g.dreamhost.com) by mimas.w3.org with esmtps (TLS1.1:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from <fielding@gbiv.com>) id 1ebWzd-0006Na-RJ for ietf-http-wg@w3.org; Tue, 16 Jan 2018 19:33:59 +0000
Received: from homiemail-a94.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a94.g.dreamhost.com (Postfix) with ESMTP id 9F9ED801991C; Tue, 16 Jan 2018 11:33:35 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gbiv.com; h=content-type :mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; s=gbiv.com; bh=7lwzNNeI7wsNbuO0unehzlnTMbk=; b=t8GzB5Cvr5TW4MrLlqeXjGNRC7zV XmIujgGodRJOKMdWV2XBOgy9XugiWlkmn4opphh7w5XMHJmBVmYVD8jGvbSjareM Q5iAIN4hm8kVcWnqHS6cLoy6znPFNpcOf+vKAqN96D8VZaro7rgHjsklNDnP5tsw Oc2Nif06jWHbQJ4=
Received: from [192.168.1.11] (ip68-228-64-138.oc.oc.cox.net [68.228.64.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: fielding@gbiv.com) by homiemail-a94.g.dreamhost.com (Postfix) with ESMTPSA id 536C38019919; Tue, 16 Jan 2018 11:33:35 -0800 (PST)
Content-Type: text/plain; charset="us-ascii"
Mime-Version: 1.0 (Mac OS X Mail 11.2 \(3445.5.20\))
From: "Roy T. Fielding" <fielding@gbiv.com>
In-Reply-To: <20180116155124.07618B81F2B@rfc-editor.org>
Date: Tue, 16 Jan 2018 11:33:34 -0800
Cc: Julian Reschke <julian.reschke@greenbytes.de>, ben@nostrum.com, aamelnikov@fastmail.fm, adam@nostrum.com, Mark Nottingham <mnot@mnot.net>, pmcmanus@mozilla.com, chris@pacejo.net, ietf-http-wg@w3.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <55475510-2367-435F-8719-77DFBACADE5C@gbiv.com>
References: <20180116155124.07618B81F2B@rfc-editor.org>
To: RFC Errata System <rfc-editor@rfc-editor.org>
X-Mailer: Apple Mail (2.3445.5.20)
X-W3C-Hub-Spam-Status: No, score=-7.6
X-W3C-Hub-Spam-Report: AWL=1.416, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, W3C_AA=-1, W3C_DB=-1, W3C_IRA=-1, W3C_IRR=-3, W3C_WL=-1
X-W3C-Scan-Sig: mimas.w3.org 1ebWzd-0006Na-RJ b8c490293f2c13a1e1a99e761c9d5817
X-Original-To: ietf-http-wg@w3.org
Subject: Re: [Technical Errata Reported] RFC7232 (5236)
Archived-At: <https://www.w3.org/mid/55475510-2367-435F-8719-77DFBACADE5C@gbiv.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/35014
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 Jan 16, 2018, at 7:51 AM, RFC Errata System <rfc-editor@rfc-editor.org> wrote:
> 
> The following errata report has been submitted for RFC7232,
> "Hypertext Transfer Protocol (HTTP/1.1): Conditional Requests".
> 
> --------------------------------------
> You may review the report below and at:
> http://www.rfc-editor.org/errata/eid5236
> 
> --------------------------------------
> Type: Technical
> Reported by: Chris Pacejo <chris@pacejo.net>
> 
> Section: 2.1
> 
> Original Text
> -------------
> 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.  For example, if
> the origin server sends the same validator for a representation with
> a gzip content coding applied as it does for a representation with no
> content coding, then that validator is weak.  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.
> 
> Corrected Text
> --------------
> Likewise, a validator is weak if it is shared by two or more
> representations of a given resource at the same time, even if those
> representations have identical representation data.  For example, if
> the origin server sends the same validator for a representation with
> a gzip content coding applied as it does for a representation with no
> content coding, then that validator is weak.
> 
> Notes
> -----
> This paragraph (and only this paragraph) seems to be in direct conflict with this earlier text from the same section:
> 
> "However, if a resource has distinct representations that differ only in their metadata, such as might occur with content negotiation over media types that happen to share the same data format, then the origin server needs to incorporate additional information in the [strong] validator to distinguish those representations."

This (in Notes) is referring to cases such as text/plain and application/json being two different
media types for what could be the exact same octets. Since a strong validator only
refers to the body data, a server would need to add more info to the validator
to cause clients to distinguish between those two representations.

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.

....Roy

> 
> Instructions:
> -------------
> This erratum is currently posted as "Reported". If necessary, please
> use "Reply All" to discuss whether it should be verified or
> rejected. When a decision is reached, the verifying party  
> can log in to change the status and edit the report, if necessary. 
> 
> --------------------------------------
> RFC7232 (draft-ietf-httpbis-p4-conditional-26)
> --------------------------------------
> Title               : Hypertext Transfer Protocol (HTTP/1.1): Conditional Requests
> Publication Date    : June 2014
> Author(s)           : R. Fielding, Ed., J. Reschke, Ed.
> Category            : PROPOSED STANDARD
> Source              : Hypertext Transfer Protocol Bis APP
> Area                : Applications
> Stream              : IETF
> Verifying Party     : IESG