Re: [Technical Errata Reported] RFC7231 (6149)

"Roy T. Fielding" <fielding@gbiv.com> Wed, 29 April 2020 17:29 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 0349B3A149C for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Apr 2020 10:29:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.749
X-Spam-Level:
X-Spam-Status: No, score=-2.749 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, HTML_MESSAGE=0.001, MAILING_LIST_MULTI=-1, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] 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 3dR1bqJVJNEw for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Apr 2020 10:29:35 -0700 (PDT)
Received: from lyra.w3.org (lyra.w3.org [128.30.52.18]) (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 E6A843A08EF for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 29 Apr 2020 10:29:34 -0700 (PDT)
Received: from lists by lyra.w3.org with local (Exim 4.92) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1jTqTq-0007G6-5w for ietf-http-wg-dist@listhub.w3.org; Wed, 29 Apr 2020 17:26:42 +0000
Resent-Date: Wed, 29 Apr 2020 17:26:42 +0000
Resent-Message-Id: <E1jTqTq-0007G6-5w@lyra.w3.org>
Received: from titan.w3.org ([128.30.52.76]) by lyra.w3.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <fielding@gbiv.com>) id 1jTqTp-0007FG-3a for ietf-http-wg@listhub.w3.org; Wed, 29 Apr 2020 17:26:41 +0000
Received: from fossa.birch.relay.mailchannels.net ([23.83.209.62]) by titan.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <fielding@gbiv.com>) id 1jTqTm-0001nJ-F6 for ietf-http-wg@w3.org; Wed, 29 Apr 2020 17:26:40 +0000
X-Sender-Id: dreamhost|x-authsender|fielding@gbiv.com
Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 5150C7E1961; Wed, 29 Apr 2020 17:26:25 +0000 (UTC)
Received: from pdx1-sub0-mail-a96.g.dreamhost.com (100-96-14-13.trex.outbound.svc.cluster.local [100.96.14.13]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 60B017E1651; Wed, 29 Apr 2020 17:26:24 +0000 (UTC)
X-Sender-Id: dreamhost|x-authsender|fielding@gbiv.com
Received: from pdx1-sub0-mail-a96.g.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.18.6); Wed, 29 Apr 2020 17:26:25 +0000
X-MC-Relay: Neutral
X-MailChannels-SenderId: dreamhost|x-authsender|fielding@gbiv.com
X-MailChannels-Auth-Id: dreamhost
X-Daffy-Versed: 6e453fcd49e68928_1588181184935_4016907213
X-MC-Loop-Signature: 1588181184935:4125764923
X-MC-Ingress-Time: 1588181184935
Received: from pdx1-sub0-mail-a96.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a96.g.dreamhost.com (Postfix) with ESMTP id 3D4017EE8C; Wed, 29 Apr 2020 10:26:23 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gbiv.com; h=from :message-id:content-type:mime-version:subject:date:in-reply-to :cc:to:references; s=gbiv.com; bh=5iiWGiNwv74ss0XCQTv6TwAqFk0=; b= tLJi7NLNbUhQXsY4ZG4YAN9dN3Lg2gPNaQLB0uF/NafhOQssjhGJikr5W+LWjtOD nO4lkqTgmbAL4TdwKEgU9CqMQ74BwRBJn+t1vJ7b/AdA+zZzyFaNkDzZahEVvnlO bFo0QEJLr/i2ce3oKKoBNcng1McwDzIZZnH5LPOCZi4=
Received: from [192.168.1.4] (ip68-228-81-25.oc.oc.cox.net [68.228.81.25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: fielding@gbiv.com) by pdx1-sub0-mail-a96.g.dreamhost.com (Postfix) with ESMTPSA id A6A467EEB0; Wed, 29 Apr 2020 10:26:19 -0700 (PDT)
X-DH-BACKEND: pdx1-sub0-mail-a96
From: "Roy T. Fielding" <fielding@gbiv.com>
Message-Id: <EECEBD48-E489-434E-AB21-CFD87CCA7B54@gbiv.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_9DCE5B04-8DD9-4944-9321-74897C7DB5DF"
Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.14\))
Date: Wed, 29 Apr 2020 10:26:18 -0700
In-Reply-To: <20200429110648.4CBE6F40720@rfc-editor.org>
Cc: Julian Reschke <julian.reschke@greenbytes.de>, superuser@gmail.com, barryleiba@computer.org, Mark Nottingham <mnot@mnot.net>, Tommy Pauly <tpauly@apple.com>, eggyal@gmail.com, ietf-http-wg@w3.org
To: RFC Errata System <rfc-editor@rfc-editor.org>
References: <20200429110648.4CBE6F40720@rfc-editor.org>
X-Mailer: Apple Mail (2.3445.104.14)
X-VR-OUT-STATUS: OK
X-VR-OUT-SCORE: -100
X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeduhedrieefgdduuddvucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuggftfghnshhusghstghrihgsvgdpffftgfetoffjqffuvfenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhephffktgggufffjgfvfhfosegrtdhmrehhtdejnecuhfhrohhmpedftfhohicuvfdrucfhihgvlhguihhnghdfuceofhhivghlughinhhgsehgsghivhdrtghomheqnecuggftrfgrthhtvghrnhepffekfefggffhheeljeeuudduheeiffeuhfeiledvffetudelvdetiefhveeuueeknecuffhomhgrihhnpehhthhtphifghdrohhrghdprhhftgdqvgguihhtohhrrdhorhhgpdhivghtfhdrohhrghdpihgrnhgrrdhorhhgpdifhhgrthifghdrohhrghdpmhhoiihilhhlrgdrohhrghdpudhsvghmrghnthhitghsrghnuggtohhnthgvnhhtrddqqddqqddqqddqqddqqddqqddqqddqqddqqddqqddqqddqqddqqddqqddqqddqqddqqddqqddqqdihohhunecukfhppeeikedrvddvkedrkedurddvheenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhhouggvpehsmhhtphdphhgvlhhopegludelvddrudeikedruddrgegnpdhinhgvthepieekrddvvdekrdekuddrvdehpdhrvghtuhhrnhdqphgrthhhpedftfhohicuvfdrucfhihgvlhguihhnghdfuceofhhivghlughinhhgsehgsghivhdrtghomh eqpdhmrghilhhfrhhomhepfhhivghlughinhhgsehgsghivhdrtghomhdpnhhrtghpthhtohepihgvthhfqdhhthhtphdqfihgseiffedrohhrgh
Received-SPF: pass client-ip=23.83.209.62; envelope-from=fielding@gbiv.com; helo=fossa.birch.relay.mailchannels.net
X-W3C-Hub-Spam-Status: No, score=-6.1
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_BL=0.001, RCVD_IN_MSPIKE_L3=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, W3C_AA=-1, W3C_DB=-1, W3C_IRA=-1, W3C_WL=-1
X-W3C-Scan-Sig: titan.w3.org 1jTqTm-0001nJ-F6 9ff2efea4f965d71d19667000183b643
X-Original-To: ietf-http-wg@w3.org
Subject: Re: [Technical Errata Reported] RFC7231 (6149)
Archived-At: <https://www.w3.org/mid/EECEBD48-E489-434E-AB21-CFD87CCA7B54@gbiv.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/37558
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>

Reject. This is not an errata in RFC7231.

While it is theoretically possible for media types to no longer define a
given parameter, it is not possible for them to limit usage of parameters
in HTTP. This example is still fine.

Note that this example has already been updated in http-core's Accept

  https://httpwg.org/http-core/draft-ietf-httpbis-semantics-latest.html#header.accept <https://httpwg.org/http-core/draft-ietf-httpbis-semantics-latest.html#header.accept>

....Roy

  

> On Apr 29, 2020, at 4:06 AM, RFC Errata System <rfc-editor@rfc-editor.org> wrote:
> 
> The following errata report has been submitted for RFC7231,
> "Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content".
> 
> --------------------------------------
> You may review the report below and at:
> https://www.rfc-editor.org/errata/eid6149
> 
> --------------------------------------
> Type: Technical
> Reported by: Alan Egerton <eggyal@gmail.com>
> 
> Section: 5.3.2
> 
> Original Text
> -------------
> The media type quality factor associated with a given type is
> determined by finding the media range with the highest precedence
> that matches the type.  For example,
> 
>  Accept: text/*;q=0.3, text/html;q=0.7, text/html;level=1,
>          text/html;level=2;q=0.4, */*;q=0.5
> 
> would cause the following values to be associated:
> 
> +-------------------+---------------+
> | Media Type        | Quality Value |
> +-------------------+---------------+
> | text/html;level=1 | 1             |
> | text/html         | 0.7           |
> | text/plain        | 0.3           |
> | image/jpeg        | 0.5           |
> | text/html;level=2 | 0.4           |
> | text/html;level=3 | 0.7           |
> +-------------------+---------------+
> 
> Corrected Text
> --------------
> The media type quality factor associated with a given type is
> determined by finding the media range with the highest precedence
> that matches the type.  For example,
> 
>  Accept: text/*;q=0.3, text/plain;q=0.7, text/plain;format=flowed,
>          text/plain;format=fixed;q=0.4, */*;q=0.5
> 
> would cause the following values to be associated:
> 
> +--------------------------+---------------+
> | Media Type               | Quality Value |
> +--------------------------+---------------+
> | text/plain;format=flowed | 1             |
> | text/plain               | 0.7           |
> | text/html                | 0.3           |
> | image/jpeg               | 0.5           |
> | text/plain;format=fixed  | 0.4           |
> | text/plain;delsp=yes     | 0.7           |
> +--------------------------+---------------+
> 
> Notes
> -----
> The optional "level" parameter of media type text/html was removed by informational RFC 2854 (The 'text/html' Media Type), [section 2](https://tools.ietf.org/html/rfc2854#section-2) of which states:
> 
>> Note that [HTML20] included an optional "level" parameter; in
>> practice, this parameter was never used and has been removed from
>> this specification.
> 
> More formally, [the current IANA registration of the text/html media type](https://www.iana.org/assignments/media-types/text/html), which is taken directly from [section 16.1 of the HTML specification](https://html.spec.whatwg.org/multipage/iana.html#text/html), does not include a "level" parameter.
> 
> Whilst the example is non-normative, it has given rise to misleading information—e.g. in the [MDN Web Docs glossary definition of "quality values"](https://developer.mozilla.org/en-US/docs/Glossary/quality_values), which states:
> 
>> Some syntax, like the one of Accept, allow additional specifiers
>> like text/html;level=1. These increase the specificity of the value.
>> Their use is extremely rare.
> 
> 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. 
> 
> --------------------------------------
> RFC7231 (draft-ietf-httpbis-p2-semantics-26)
> --------------------------------------
> Title               : Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content
> 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
>