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

Glenn Strauss <gs-lists-ietf-http-wg@gluelogic.com> Fri, 26 May 2023 06:40 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 7DD1CC151B17 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 25 May 2023 23:40:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.65
X-Spam-Level:
X-Spam-Status: No, score=-7.65 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.25, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
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 74EATUNBPm4E for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 25 May 2023 23:40:42 -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 5DE0DC151B09 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 25 May 2023 23:40:42 -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 1q2R7m-008VqX-KC for ietf-http-wg-dist@listhub.w3.org; Fri, 26 May 2023 06:40:30 +0000
Resent-Date: Fri, 26 May 2023 06:40:30 +0000
Resent-Message-Id: <E1q2R7m-008VqX-KC@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 <gs-lists-ietf-http-wg@gluelogic.com>) id 1q2R7l-008Vpn-Bm for ietf-http-wg@listhub.w3.org; Fri, 26 May 2023 06:40:29 +0000
Received: from smtp1.atof.net ([52.86.233.228]) by mimas.w3.org with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA (Exim 4.94.2) (envelope-from <gs-lists-ietf-http-wg@gluelogic.com>) id 1q2R7l-002Uip-A5 for ietf-http-wg@w3.org; Fri, 26 May 2023 06:40:29 +0000
X-Spam-Language: en
X-Spam-Relay-Country:
X-Spam-DCC: B=MGTINTERNET; R=smtp1.atof.net 1170; Body=1 Fuz1=1 Fuz2=1
X-Spam-RBL:
X-Spam-PYZOR: Reported 0 times.
Date: Fri, 26 May 2023 02:40:16 -0400
From: Glenn Strauss <gs-lists-ietf-http-wg@gluelogic.com>
To: Mark Nottingham <mnot@mnot.net>
Cc: ietf-http-wg@w3.org
Message-ID: <ZHBUIDp+vBNOVQMT@xps13>
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>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
In-Reply-To: <66F56BEF-2691-43F6-842B-EF570F42320B@mnot.net>
Received-SPF: pass client-ip=52.86.233.228; envelope-from=gs-lists-ietf-http-wg@gluelogic.com; helo=smtp1.atof.net
X-W3C-Hub-Spam-Status: No, score=-6.2
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, W3C_AA=-1, W3C_WL=-1
X-W3C-Scan-Sig: mimas.w3.org 1q2R7l-002Uip-A5 00dfa354354f3372a74aab67286a785d
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/ZHBUIDp+vBNOVQMT@xps13>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/51096
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 May 2023, at 3:47 pm, Poul-Henning Kamp <phk@phk.freebsd.dk> wrote:
> > 
> > --------
> > Julian Reschke writes:
> > 
> >> At the end of the day what matters is that we have that capability, as
> >> opposed to not having at all.
> > 
> > We /already/ have that capability:  Put the UTF8 safely in a sf-binary field.
> > 
> > If you want to "label" it, put a parameter on it saying what it is.

On Fri, May 26, 2023 at 04:15:22PM +1000, Mark Nottingham wrote:
> 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.

For the sake of security and robustness, is every SF field
parseable, able to be validated, and canonicalizable, with
the exception of sf-binary?  I would like to see sf-binary
as the sole exception, there to provide extensibility when
no other SF field is a better choice.

After all, structured fields should be well-defined and well-structured.

If SF-display is SF-binary but with type info 'display',
then is 'display' really a "fundamental" type?

I can more easily see that "integer" is a fundamental type.

Cheers, Glenn