Re: [Editorial Errata Reported] RFC7231 (6019)

Julian Reschke <julian.reschke@gmx.de> Mon, 16 March 2020 11:35 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 329423A2322 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 16 Mar 2020 04:35:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.651
X-Spam-Level:
X-Spam-Status: No, score=-2.651 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.249, 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=gmx.net
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 hlP_rQhj_MFh for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 16 Mar 2020 04:35:15 -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 5A3733A2320 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 16 Mar 2020 04:35:14 -0700 (PDT)
Received: from lists by lyra.w3.org with local (Exim 4.92) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1jDnyF-0001B4-Kr for ietf-http-wg-dist@listhub.w3.org; Mon, 16 Mar 2020 11:31:47 +0000
Resent-Date: Mon, 16 Mar 2020 11:31:47 +0000
Resent-Message-Id: <E1jDnyF-0001B4-Kr@lyra.w3.org>
Received: from mimas.w3.org ([128.30.52.79]) by lyra.w3.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <julian.reschke@gmx.de>) id 1jDnyE-00019x-Bo for ietf-http-wg@listhub.w3.org; Mon, 16 Mar 2020 11:31:46 +0000
Received: from mout.gmx.net ([212.227.15.18]) by mimas.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from <julian.reschke@gmx.de>) id 1jDnyC-00057C-DI for ietf-http-wg@w3.org; Mon, 16 Mar 2020 11:31:46 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1584358264; bh=0uEgqcTD/q6XKxaQyoX3hL3X8uewTwjd3sQVSO7Lg3M=; h=X-UI-Sender-Class:Subject:To:Cc:References:From:Date:In-Reply-To; b=KG6RvAopyTL+aP5n1LR/fOGnYFvdp4cVrZflCdza6Yp3vT52NKf9u8cWwU7QiK98j KPhaQXiO/YgQQgpEbidOohLHW7DN6IhUglHwsjVLdGU8Ki609yg4fEhCb2PTaQZLmQ FMupXLWAzIhh3xloqzggNObvq2NxPbWI2lzpsI9U=
X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c
Received: from [192.168.1.110] ([5.10.171.186]) by mail.gmx.com (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1Mk0Ne-1jc7DE05hg-00kLCu; Mon, 16 Mar 2020 12:31:04 +0100
To: RFC Errata System <rfc-editor@rfc-editor.org>, fielding@gbiv.com, ben@nostrum.com, aamelnikov@fastmail.fm, adam@nostrum.com, mnot@mnot.net, tpauly@apple.com
Cc: 1983-01-06@gmx.net, ietf-http-wg@w3.org
References: <20200316111042.6A50DF406D9@rfc-editor.org>
From: Julian Reschke <julian.reschke@gmx.de>
Message-ID: <a2a9ce60-963a-7d1f-ca10-83c0124e0e69@gmx.de>
Date: Mon, 16 Mar 2020 12:31:03 +0100
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0
MIME-Version: 1.0
In-Reply-To: <20200316111042.6A50DF406D9@rfc-editor.org>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Language: en-US
Content-Transfer-Encoding: quoted-printable
X-Provags-ID: V03:K1:K/JAeSPwzAkrFftFGeVjPXXV2xQ9OqzHOsYjMfy2ch+W8+f80sK Q6RfVv+RJDt7L7oJjYpCumGd6fUrgjIGx4/+yPNVrHYxACi6qnoioqLfp7y3z2Mm4M4s67d zMVzlnVHqeAF625iuiKvNgMaKkFygkzVqp5AUQGQWoGikpSgq1uGzKAHHuchqccRB8z2wor wRwnQfhiyzaUbYqFRDbiA==
X-UI-Out-Filterresults: notjunk:1;V03:K0:FvJYkouzs6M=:DRHmSRc+/gRtjPAyburqwg L4LiWSTzo+aRX0aKkhb9fxYm3PWaqaJZ3ygB6OlcWIUq48nl6rA8huyi9ewbpfcTjiyw7wJXW +glGKU+umxPBJkrzTukVWLzFj3dM+7/k6lqLxeHAGMNUvVFlwNcKC3qLh+K8pzHlACaFSSuPR pys/Kp0tEn226rYS+jMhr3Rx3Z7OWVd2Rz+AuNe1sVexR6Be2SE91WLRM0VaFab5ikUXGyQ5e 9u9+if6alAhxdvucErTp/K9qsd3jM/N4Cd3MNa6807q1Lg2X4sPYAZXd53d5xKnL4+uPQyGHR 0q4ObNK8RujOs+zBW+qt8eGbyMxGtx3cVZbqXNVMsAe08sUNxxLxqLgBfeqUbR+SfmqwcQ4DW ul+HBxtk0pNQ7KfJvzbdc3h2KOsRWSrt+/sY9RYsOcB84gBeWtwfZXFUPvuIsdecXjUvPMhin U8kuk5CZpGbh2aAYVDXs8KXtQ8Kml0wQUk2qnNdX+dSBCljphgq+JkjtU+wm//kUP3ZiDCZRf XAaFstDIbelJZ6Lt3uOcKnTuPkPpiBBzE2rMsHjotfu+sn7hRsu6Is//4qHtYHEpZ6VmiwfXm Lr5fOlmi6cHyfiDn/L5ecbc62/uvGpBK0qhM7/h5w2xC2UAS79BsNoNTOwmax8aIEJzWVsXG2 w9T04pI0HlQIr4xPTbW61m+ZxwP9Zmw4EvpwGNZ1JePDlGcyH1WRazBTS37ruIvoRfXvExIvx 4AlST8fmwoRW35LgwrCDGZSNwj+RzKZmFRuDyx2Pv33UmNb0vDtBFafP+nUc8VxpqCxcu3JxC K1szeq5TirXuqXcynwDxetQu9TOKUUQq/X7SFVzyTrOquYsoDbUEu9DPsQK9ix+l/g7NSHefb yReszjQVNl2IkWBGWFN13R+RPFIWhJvNN0tUHXk3BcCskS5bjRkphMWx/G88WiN3ofEgsSsuR w2viNUJ4ykwfM9BWt7gJwHoT9wumaN6E/fFX7HRS2H+Xo9VYzt22O7zWVfodK6R3Bktj79D5R P5owT21s51AJ7t6pYFAko0qQ9OZwvQpP2pRnm64k36awKSZeaatooeQomXQoSRZF7BGZNVFnt X1+NJqo6LOW25o2YHBJlK/mAIi9aomjTMX3ioJvClfKuZziiG+awbeF6gNNjMSQBC62E4UAp+ 1JVE6vnKSAhqrG6iQ47K2r6UPyNImqhT39tGcjevxHCO23RJSw4IsO9QtyuHrTSKn/3YtKzlp CxP5ZAHWduYG/hVJ5
Received-SPF: pass client-ip=212.227.15.18; envelope-from=julian.reschke@gmx.de; helo=mout.gmx.net
X-W3C-Hub-Spam-Status: No, score=-5.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, W3C_AA=-1, W3C_IRA=-1, W3C_WL=-1
X-W3C-Scan-Sig: mimas.w3.org 1jDnyC-00057C-DI e9920f4f64c61274d0ccc924ec298c03
X-Original-To: ietf-http-wg@w3.org
Subject: Re: [Editorial Errata Reported] RFC7231 (6019)
Archived-At: <https://www.w3.org/mid/a2a9ce60-963a-7d1f-ca10-83c0124e0e69@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/37445
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 16.03.2020 12:10, RFC Errata System 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/eid6019
>
> --------------------------------------
> Type: Editorial
> Reported by: Michael Osipov <1983-01-06@gmx.net>
>
> Section: 3.1.1.1
>
> Original Text
> -------------
>   A parameter value that matches the token production can be
>     transmitted either as a token or within a quoted-string.  The quoted
>     and unquoted values are equivalent.  For example, the following
>     examples are all equivalent, but the first is preferred for
>     consistency:
>
>       text/html;charset=utf-8
>       text/html;charset=UTF-8
>       Text/HTML;Charset="utf-8"
>       text/html; charset="utf-8"
>
>
> Corrected Text
> --------------
>   A parameter value that matches the token production can be
>     transmitted either as a token or within a quoted-string.  The quoted
>     and unquoted values are equivalent.  For example, the following
>     examples are all equivalent, but the first is preferred for
>     consistency:
>
>       text/html;charset=utf-8
>       text/html;charset=UTF-8
>
>
> Notes
> -----
> Section 3.1.1.2 defines charset value to be a token. I consider this to be a bad example which might cause confusion. Why should I quote the value if it is defined as token?! You make want to use some other example.
> ...

What's relevant is the ABNF for *parameter*; and that allows both token
and quoted-string. I agree that the text in 7231 is slightly confusing
(and an issue should be opened at
<https://github.com/httpwg/http-core>), but that example actually is
correct; so this erratum should be rejected.

Best regards, Julian