Re: Consensus call to include Display Strings in draft-ietf-httpbis-sfbis

Julian Reschke <julian.reschke@gmx.de> Fri, 26 May 2023 05:13 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 E4565C169531 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 25 May 2023 22:13:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.049
X-Spam-Level:
X-Spam-Status: No, score=-5.049 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, MAILING_LIST_MULTI=-1, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_PASS=-0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmx.de
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZUI6YPqv0VPI for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 25 May 2023 22:13:00 -0700 (PDT)
Received: from lyra.w3.org (lyra.w3.org [128.30.52.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 2FCF2C14CF05 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 25 May 2023 22:12:59 -0700 (PDT)
Received: from lists by lyra.w3.org with local (Exim 4.94.2) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1q2Pi8-008MAB-IT for ietf-http-wg-dist@listhub.w3.org; Fri, 26 May 2023 05:09:56 +0000
Resent-Date: Fri, 26 May 2023 05:09:56 +0000
Resent-Message-Id: <E1q2Pi8-008MAB-IT@lyra.w3.org>
Received: from mimas.w3.org ([128.30.52.79]) by lyra.w3.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from <julian.reschke@gmx.de>) id 1q2Pi6-008M9D-Uq for ietf-http-wg@listhub.w3.org; Fri, 26 May 2023 05:09:54 +0000
Received: from mout.gmx.net ([212.227.15.18]) by mimas.w3.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from <julian.reschke@gmx.de>) id 1q2Pi6-002TQ2-Bb for ietf-http-wg@w3.org; Fri, 26 May 2023 05:09:54 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.de; s=s31663417; t=1685077787; x=1685682587; i=julian.reschke@gmx.de; bh=3kRP7YKMj3eChWCYp5MeVT6aX2Xl53nNvRDr/ojtjqg=; h=X-UI-Sender-Class:Date:Subject:To:References:From:In-Reply-To; b=ofDyJ/xmK/fHxJI7KPpLYS91h1Xu43rPnUVZgiPrDqQKOVb7JcjeLMpSLrPiQcVxNDUB72b kpKXSrKJC/KZ4P47B0SisJ0NlfuMrj7JpiV3JpnkdiQT65qTqQEVzyJnxJ7a1SS6SL6RlBCxU AjthJEGrNtj9Csd7vsK4UQigpKqIPOyIWdIp0qCpSSu+2IxeBXpS19Ws1wcjNuQRhXpK4TeE+ q1hppBRS5g4tY3O3M/9mDvaVCjejPIrlRhfTLp7N5YDpvOBRALW7b08ZkQGHFiz16AxnguhhO snc/IVpAiJLJSIos2IJSYnZIHeKJ7QoeOR62tczkwlNCgvn7Xunw==
X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a
Received: from [192.168.178.20] ([91.61.50.92]) by mail.gmx.net (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1M9Wys-1pz5mo3wU0-005bui for <ietf-http-wg@w3.org>; Fri, 26 May 2023 07:09:47 +0200
Message-ID: <1004f1c4-c5b3-7b04-708a-a0be758abc8f@gmx.de>
Date: Fri, 26 May 2023 07:09:46 +0200
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0
To: ietf-http-wg@w3.org
References: <FC5270AF-509C-4331-AE8F-1F2D51BBC5F2@apple.com> <C687C218-7793-4B74-BB51-B7C34059F9C4@gbiv.com> <F84B0780-7710-4F74-9830-ECBD4A926C3D@mnot.net>
Content-Language: en-US
From: Julian Reschke <julian.reschke@gmx.de>
In-Reply-To: <F84B0780-7710-4F74-9830-ECBD4A926C3D@mnot.net>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: quoted-printable
X-Provags-ID: V03:K1:XtvsYw59XZVASAxIBMu3EuE8M6bKakCYzOPtc079ZJJ5njujy4T E7yHljX6ugqNMHDoJ+VmNcglWzLKW+u2NoUMFu57PiGxjPtQUc3cVsE2cNpMUKOfV+Ethb0 SN2JnMWgRUGZyfYc0sC+wrUQy3P5RPyXXkw/HmRLvSXiXfILvx6bIvJkazfc8CA+ziYADkm 4zURQj7r8Ap3YKun63+qA==
UI-OutboundReport: notjunk:1;M01:P0:u8y8GqI1ZTA=;oSLgkpcSpq7dDV/F76a/YFbQbQX t5IyFcxAWWVwJ7mV2eUU7j+Si8ow6/Qq+3/nWkmDSqB8/hUqzT65a0YhVJE19ncEFQNoGDxqL BkGSd8uPokK+D1D180DQyROj2lE8Vb+6tvCl/v3ko66b9ymyKOsnTpBrk99g97tNUyfMp7ZQC U0ldErKgM6lzzMrPy+DpO2opNP7pNFCUeJI27cnWJTJ4ugve6J5qNRYkl0SkFu6aVgT1J3Xc3 zd+Xhehe+i026Bg826ditgiEwJtSGFOmbUakProM1VjEo4uA1rACRE45pqhbhGdg6CFnQeQyF 87Ia7bD+zxLJoRHmc84AbVBZJnSeQjIZlGyHk8TQE4lV9PPfEIXeduURWdZO/AkCeopRQTp/m G7aoocg+SEQ3JHfbzJYgj0WVvQ1wpOkVpLM41xFuHmbeUNJtIBvEg4Zix/UXIi8QOjTe3xrMA 8HigKWM94nNpmtpwlA9pLAP/CmqfhSkYtbrbsIW9EygDDPb2IugoOrMQQrw3FyWdxxr2XKOF4 pG61tmsHKPUqoT3lU/O+vNtz7Hfl3t2zg8UBszzO2FEgISFLUyv1BXGvJPn4OqMvyEnuDTHf8 J1HAbBFFL4KMti6oi6v+9MLzJggi36Uz+K520BqL4xv+lTEipbE7SpMm275pQhGfnES0R8+JM IrA6gb8W5EBGx7qZnvk5OCL/ZdKFgRA7HRPLhHaSpsJn5AIJ1ZeNkjaPA+7IMNrCd+KF/pbxh vbLxepxU7MZovPRDIWRpbG0dKeCDvZdcSRt4pVyg0atdzSN+8NK5i18OpRM6+J6BdyaBqvpx2 mD0htfshQ4LzYhkoM7/D3wOKYDZb8ZBY2sFWZgpnSJvOrVeTL89uQ7P9jbcAncAoBj9PN3wNE sHF0PfFe4Ors7IYLAY2zgX2LSjMIM9Hu4U3A1TbgmrdOxf1J574syX8ovlDKLiKgqgRJyjIbk VJRiYw==
Received-SPF: pass client-ip=212.227.15.18; envelope-from=julian.reschke@gmx.de; helo=mout.gmx.net
X-W3C-Hub-DKIM-Status: validation passed: (address=julian.reschke@gmx.de domain=gmx.de), signature is good
X-W3C-Hub-DKIM-Status: validation passed: (address=julian.reschke@gmx.de domain=julian.reschke@gmx.de), signature is good
X-W3C-Hub-Spam-Status: No, score=-5.9
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, FREEMAIL_FROM=0.001, NICE_REPLY_A=-0.091, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, W3C_AA=-1, W3C_IRA=-1, W3C_WL=-1
X-W3C-Scan-Sig: mimas.w3.org 1q2Pi6-002TQ2-Bb 23cf40b64186e50c6c302783fca8d069
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Consensus call to include Display Strings in draft-ietf-httpbis-sfbis
Archived-At: <https://www.w3.org/mid/1004f1c4-c5b3-7b04-708a-a0be758abc8f@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/51092
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 26.05.2023 00:38, Mark Nottingham wrote:
> Hi Roy,
>
>> On 26 May 2023, at 3:21 am, Roy T. Fielding <fielding@gbiv.com> wrote:
>>
>> I think (b) is unnecessary given that HTTP is 8-bit clean for UTF-8
>> and we are specifically talking about new fields for which there
>> are no deployed parsers. Yes, I know what it says in RFC 9110.
>
> Yes, the parsers may be new, but in some contexts, they may not have access to the raw bytes of the field value. Many HTTP libraries and abstractions (e.g., CGI) assume an encoding and expose strings; some of those may apply the advice that HTTP has documented for many years and assume ISO-8859-1.
> ...

FWIW, components that actually do assume that are safe, because in
ISO-8850-1, every octet of the field value is mapped to a single
character in the string, and that conversion can be undo without loss.

Best regards, Julian