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

Mark Nottingham <mnot@mnot.net> Fri, 26 May 2023 07:30 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 7C73DC151080 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 26 May 2023 00:30:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.24
X-Spam-Level:
X-Spam-Status: No, score=-2.24 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, RAZOR2_CF_RANGE_51_100=1.886, RAZOR2_CHECK=0.922, 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=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=mnot.net header.b="OaE/nzT+"; dkim=pass (2048-bit key) header.d=messagingengine.com header.b="X5KIdTMq"
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 FCciKf5fuIsm for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 26 May 2023 00:30:30 -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 90670C151547 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 26 May 2023 00:30:30 -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 1q2Rtz-008ayM-0F for ietf-http-wg-dist@listhub.w3.org; Fri, 26 May 2023 07:30:19 +0000
Resent-Date: Fri, 26 May 2023 07:30:19 +0000
Resent-Message-Id: <E1q2Rtz-008ayM-0F@lyra.w3.org>
Received: from titan.w3.org ([128.30.52.76]) by lyra.w3.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from <mnot@mnot.net>) id 1q2Rtx-008awl-42 for ietf-http-wg@listhub.w3.org; Fri, 26 May 2023 07:30:17 +0000
Received: from out5-smtp.messagingengine.com ([66.111.4.29]) by titan.w3.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from <mnot@mnot.net>) id 1q2Rtv-0094As-HL for ietf-http-wg@w3.org; Fri, 26 May 2023 07:30:16 +0000
Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 757075C0210; Fri, 26 May 2023 03:30:09 -0400 (EDT)
Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Fri, 26 May 2023 03:30:09 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mnot.net; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to; s=fm2; t= 1685086209; x=1685172609; bh=fZb2pUEDyiihghxrhbySO+cNk5TSTHkSZ6G rdQATWJE=; b=OaE/nzT+mpdsAx2G6P3yRysdqIhqIH3FnFfNv2IzigXluZKhjt2 v5EjLz7CfObZQ+dxMJJUEHQX9THmCdR1SxFs80IpvFHXzmt1AvlLu4stMXaoeNy6 w2/19yMtrWY8uxVUmooV9mQ8Y8VvjHcevIdLpPAVqDv1F1cfaZtSbDv7Sgp0zPQs ArbzF1nae24zeJkcqJQXG1SdH86cBe8ddQ5r1PBcpC8s2Txs+hgJkG5EgikD4BPk zUhnGISi/mXsr3KKZXWncgx/GIN4z0qWn4fRI1Wxz+hhj/rUv4txaLooQ2Txu1yg xMpKECDO4JQ9YLz1jZZkYg4yXmqruAYg8RQ==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1685086209; x=1685172609; bh=fZb2pUEDyiihghxrhbySO+cNk5TSTHkSZ6G rdQATWJE=; b=X5KIdTMq/STVzJx9iVcf+SEdwGKrfpf2w5PRU4yJu5R0KILRxUG NyELE5E7JgTWit+WrqYUcfFN/z9YNEndsBs66Ef0sFHwQp20K4E4crfY3KWcTEX2 PujCYGNCgrBX+H0RWqw3DP3d+2gWVFALnmUqkSTXPhOtDJz2pyvhu/KklaE6LlAf 1zy1w8z7g9sSZ98LMggr+CltwJqS6hn1g7ouFuwRetxplQX2nLXTVknkxBjvUMu7 YASXQRfu2io2EdT/7C6xJ8ZY4/Z2sYUMYNglbK8s48zKyNdEtRq+yen36eDqkQwH OaaBD9uBL5st83hMfvbiNnLVsHgkcFkctdg==
X-ME-Sender: <xms:AGBwZLDSgK0C7NR_3DuMBH933b0Wry0mXZUnemuGrV4yb532_xtFWQ> <xme:AGBwZBjxWb9qTedlVpDNQeXJ3azFt5A1C_VLaoBuESAJu218MDdq-Iwn9I8NLrDYq iDyy_gC0Irk8gX0RQ>
X-ME-Received: <xmr:AGBwZGmPZ1H9cKB-ZfD64LevOHt91j-THca6WWXJb_LRf7ViF_QIqbchxcDTr2p5YWRwVTLLMkQIhlQTveKBvkIxWXemuUT6Q1tr3-W36qlT5Wqasr9VKsqu>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrfeejkedguddvtdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpegtggfuhfgjffevgffkfhfvofesthhqmhdthhdtvdenucfhrhhomhepofgr rhhkucfpohhtthhinhhghhgrmhcuoehmnhhothesmhhnohhtrdhnvghtqeenucggtffrrg htthgvrhhnpeeigeekgfefvefhjeeggeetueetffetgfetieegteetvddtfedthffgieeu hfetueenucffohhmrghinhephhhtthhpshhofhhtfigrrhgvshhutghhrghstggrtghhvg hsghgrthgvfigrhihsphhrohigihgvshgvthgtrdgrshdpmhhnohhtrdhnvghtnecuvehl uhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepmhhnohhtsehmnh hothdrnhgvth
X-ME-Proxy: <xmx:AGBwZNzRnzum3VklNSnMeFm2TeauZmpkGOp8m4WS7H24udFE_E0B3A> <xmx:AGBwZATHq3RFnByGKX2IZC7uP-TIblgqfDoXqI49P7HsFQeNom3QWQ> <xmx:AGBwZAbxh3ITmGDGkvlVxfleFONhaqIspshV47ZODhNq9BjsUatqvQ> <xmx:AWBwZLK8FAfpweytwAfLcfVDc-Afkw51PVebjRFiQnGf-g7l6AwAPw>
Feedback-ID: ie6694242:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 26 May 2023 03:30:07 -0400 (EDT)
Content-Type: text/plain; charset="us-ascii"
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.600.7\))
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <202305260650.34Q6oYQx030824@critter.freebsd.dk>
Date: Fri, 26 May 2023 17:30:03 +1000
Cc: "Julian F. Reschke" <julian.reschke@gmx.de>, ietf-http-wg@w3.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <5EC035B4-9EBD-473E-BA32-2B9804920B45@mnot.net>
References: <FC5270AF-509C-4331-AE8F-1F2D51BBC5F2@apple.com> <C687C218-7793-4B74-BB51-B7C34059F9C4@gbiv.com> <202305252223.34PMNecG001082@critter.freebsd.dk> <5a704134-ce9c-2201-62ff-3a70ba6ac775@gmx.de> <202305260547.34Q5lZre026200@critter.freebsd.dk> <66F56BEF-2691-43F6-842B-EF570F42320B@mnot.net> <202305260650.34Q6oYQx030824@critter.freebsd.dk>
To: Poul-Henning Kamp <phk@phk.freebsd.dk>
X-Mailer: Apple Mail (2.3731.600.7)
Received-SPF: pass client-ip=66.111.4.29; envelope-from=mnot@mnot.net; helo=out5-smtp.messagingengine.com
X-W3C-Hub-DKIM-Status: validation passed: (address=mnot@mnot.net domain=mnot.net), signature is good
X-W3C-Hub-DKIM-Status: validation passed: (address=mnot@mnot.net domain=messagingengine.com), signature is good
X-W3C-Hub-Spam-Status: No, score=-7.0
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, RAZOR2_CF_RANGE_51_100=1.886, RAZOR2_CHECK=0.922, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, W3C_AA=-1, W3C_DB=-1, W3C_IRA=-1, W3C_IRR=-3, W3C_WL=-1
X-W3C-Scan-Sig: titan.w3.org 1q2Rtv-0094As-HL ef84ea287fe8dd7285ae048d37b92b8d
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/5EC035B4-9EBD-473E-BA32-2B9804920B45@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/51098
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>

PHK,

> On 26 May 2023, at 4:50 pm, Poul-Henning Kamp <phk@phk.freebsd.dk> wrote:
> 
> --------
> Mark Nottingham writes:
> 
>> PHK, you could make this argument for *any* of the types already in SF
>> -- we don't need Integers when you can just stuff them in binary, after
>> all.
> 
> Mark, that is a disingenious argument, and you know it better than any.

That's a strong claim about my intent, and I don't appreciate it. Please back it up or retract it.

> I designed SF, and later you helped,

... and that's quite a distortion of the spec's history, but let's not get distracted from the point here.

> make SF the largest possible
> union of current HTTP header definitions, while still trying to
> impose some kind of order.
> 
> I did not encounter a single RFC which defined a field where integers
> were transmitted as anything but a sequence of ASCII digits.
> 
> The information in HTTP fields is almost exclusively for machine-machine
> communication, and SF is an attempt to make that safer, saner and
> more resource efficient.
> 
> There are a few occational "Show this to the human" bits of information
> at the HTTP field level, and there, and /only/ there, it makes
> sense to allow UniCode.

Yes, that's what we're designing for.

> But those fields have no semantic meaning at the HTTP level, they
> are not interpreted at the HTTP level, and therefore they should
> be transferred as opaque data, and the validation of them left to
> the upper layers of application software.

I interpret what you call "at the HTTP level" to mean use by generic HTTP software such as caches, gateways, proxies, etc., as well as perhaps the generic machinery at the endpoints that need to utilise it.

There has never been a requirement for Structured Fields types (or the entirety of Structured Fields) to be only useful "at the HTTP level." The benefits that we've stated (reuse of parsing/serialisation code, ease of specification, avoidance of errors / mismatches in implementation, potential efficiency benefits down the road with different serialisations, etc.) are certainly seen by them, but are not exclusive to them. Furthermore, making the data model appealing to developers matters, because it reduces barriers to adoption. It also gives us surface area for potential future improvements (e.g., in alternative serialisation) if we know more about the data being transferred.

If that isn't what you meant, could you please clarify?

Cheers,

--
Mark Nottingham   https://www.mnot.net/