Re: Call for Adoption: Structured Fields Revision (RFC8941bis)

Tommy Pauly <tpauly@apple.com> Fri, 21 October 2022 15:20 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 B289AC14CE37 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 21 Oct 2022 08:20:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.332
X-Spam-Level:
X-Spam-Status: No, score=-3.332 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.571, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.249, HTML_MESSAGE=0.001, MAILING_LIST_MULTI=-1, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=apple.com
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 bXWProDjCztj for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 21 Oct 2022 08:20:02 -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 C6ACBC14CE36 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 21 Oct 2022 08:20:01 -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 1oltm0-00ASuI-T9 for ietf-http-wg-dist@listhub.w3.org; Fri, 21 Oct 2022 15:17:24 +0000
Resent-Date: Fri, 21 Oct 2022 15:17:24 +0000
Resent-Message-Id: <E1oltm0-00ASuI-T9@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 <tpauly@apple.com>) id 1oltly-00ASsP-Qn for ietf-http-wg@listhub.w3.org; Fri, 21 Oct 2022 15:17:22 +0000
Received: from ma1-aaemail-dr-lapp01.apple.com ([17.171.2.60]) by mimas.w3.org with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from <tpauly@apple.com>) id 1oltlw-00H2f0-Ue for ietf-http-wg@w3.org; Fri, 21 Oct 2022 15:17:22 +0000
Received: from pps.filterd (ma1-aaemail-dr-lapp01.apple.com [127.0.0.1]) by ma1-aaemail-dr-lapp01.apple.com (8.16.0.42/8.16.0.42) with SMTP id 29LFA8MN027994; Fri, 21 Oct 2022 08:17:07 -0700
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=apple.com; h=from : content-type : mime-version : subject : date : references : to : in-reply-to : message-id; s=20180706; bh=bq9f5egWJAaiebM47+x/K+OufYdecJp94QKGPOb79Dk=; b=jwFdtkNg9rnrKV9NnSMa1H6p9sj8WFOcXIGAp+dzL7IL94ObtEyPBWtEFaDEqERwHA9s YQkE4tF5mTu8jt+WuQoT9DBVL/KfID5Aug4tEihhiKr1seicKrK753b3caa+LpY+AzAD FQvB4uHFuvS7Ogg6Kp2+hO54tCNCrY7w71xrt21zyVnFV//NnY1+wZjApam/qlY9GO6D 5JCY0OjfEKQ9ILCzPtLwA/r5E73NOtu/gUlQRNH5fe2ThrME+xC1I6G6NB0Ow/puT4T6 8ltkkjneK3/GECLY1Bi3KpZls9QlNm/aiTVvMGB/7GB3J6AKwFWEiLVqkSJ+PxNBFMqw RA==
Received: from rn-mailsvcp-mta-lapp04.rno.apple.com (rn-mailsvcp-mta-lapp04.rno.apple.com [10.225.203.152]) by ma1-aaemail-dr-lapp01.apple.com with ESMTP id 3k7uh2tqfc-3 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Fri, 21 Oct 2022 08:17:07 -0700
Received: from rn-mailsvcp-mmp-lapp04.rno.apple.com (rn-mailsvcp-mmp-lapp04.rno.apple.com [17.179.253.17]) by rn-mailsvcp-mta-lapp04.rno.apple.com (Oracle Communications Messaging Server 8.1.0.19.20220711 64bit (built Jul 11 2022)) with ESMTPS id <0RK30006QZSIT2G0@rn-mailsvcp-mta-lapp04.rno.apple.com>; Fri, 21 Oct 2022 08:17:06 -0700 (PDT)
Received: from process_milters-daemon.rn-mailsvcp-mmp-lapp04.rno.apple.com by rn-mailsvcp-mmp-lapp04.rno.apple.com (Oracle Communications Messaging Server 8.1.0.19.20220711 64bit (built Jul 11 2022)) id <0RK300D00ZP3RU00@rn-mailsvcp-mmp-lapp04.rno.apple.com>; Fri, 21 Oct 2022 08:17:06 -0700 (PDT)
X-Va-A:
X-Va-T-CD: 665760a0db947a424deab49fdc8ce1ea
X-Va-E-CD: 6cc950146e70497aced5f702aa3a07d7
X-Va-R-CD: baa49698d04c4ebacb2a0b77a2eccf88
X-Va-CD: 0
X-Va-ID: 233ac11d-e169-4087-b603-2dabe8976d28
X-V-A:
X-V-T-CD: 665760a0db947a424deab49fdc8ce1ea
X-V-E-CD: 6cc950146e70497aced5f702aa3a07d7
X-V-R-CD: baa49698d04c4ebacb2a0b77a2eccf88
X-V-CD: 0
X-V-ID: 103cbe71-f82e-4fdb-8fb4-57732c7034a1
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.545,18.0.895 definitions=2022-10-21_04:2022-10-20,2022-10-21 signatures=0
Received: from smtpclient.apple ([17.11.248.95]) by rn-mailsvcp-mmp-lapp04.rno.apple.com (Oracle Communications Messaging Server 8.1.0.19.20220711 64bit (built Jul 11 2022)) with ESMTPSA id <0RK3005C6ZSHDJ00@rn-mailsvcp-mmp-lapp04.rno.apple.com>; Fri, 21 Oct 2022 08:17:06 -0700 (PDT)
From: Tommy Pauly <tpauly@apple.com>
Content-type: multipart/alternative; boundary="Apple-Mail=_6A8998B4-D2A7-45E1-A3A0-C302C1EAB58C"
MIME-version: 1.0 (Mac OS X Mail 16.0 \(3730.0.21\))
Date: Fri, 21 Oct 2022 08:16:55 -0700
References: <7CA07377-9FCE-4976-B420-72534978A6FC@apple.com> <A7EBB16B-8D84-4D00-9C59-DB0CFF6A6260@mnot.net> <005B3744-93E5-49B4-9BDB-D939D992CB91@mnot.net> <c5db71bf-82c4-41f1-91d7-ab9fef36475b@betaapp.fastmail.com>
To: Martin Thomson <mt@lowentropy.net>, HTTP Working Group <ietf-http-wg@w3.org>
In-reply-to: <c5db71bf-82c4-41f1-91d7-ab9fef36475b@betaapp.fastmail.com>
Message-id: <2FD4878A-059F-4D7C-83D3-6AFEC2AC7439@apple.com>
X-Mailer: Apple Mail (2.3730.0.21)
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.545,18.0.895 definitions=2022-10-21_04:2022-10-20,2022-10-21 signatures=0
Received-SPF: pass client-ip=17.171.2.60; envelope-from=tpauly@apple.com; helo=ma1-aaemail-dr-lapp01.apple.com
X-W3C-Hub-DKIM-Status: validation passed: (address=tpauly@apple.com domain=apple.com), signature is good
X-W3C-Hub-Spam-Status: No, score=-11.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.25, 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_MED=-2.3, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, W3C_AA=-1, W3C_DB=-1, W3C_IRA=-1, W3C_IRR=-3, W3C_WL=-1
X-W3C-Scan-Sig: mimas.w3.org 1oltlw-00H2f0-Ue 9a15c53144650bd5e7477efff32434f0
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Call for Adoption: Structured Fields Revision (RFC8941bis)
Archived-At: <https://www.w3.org/mid/2FD4878A-059F-4D7C-83D3-6AFEC2AC7439@apple.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/40479
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>

My individual preference (not as chair) would be to keep the relaxations in retrofit. My impression is that implementations would have specific workaround rules to say “for this retrofitted field, relax this rule in parsing”. As such, these relaxations make sense only in the context of implementing retrofitted fields; if you’re just coming to structured fields for the purposes of implementing or specifying new fields, you won’t need to worry about the relaxed versions.

I could see the main structured fields document mentioning that some of the rules may be relaxed for parsing legacy fields, but leave the details to the actual retrofit document.

Best,
Tommy

> On Oct 19, 2022, at 5:26 PM, Martin Thomson <mt@lowentropy.net> wrote:
> 
> On Thu, Oct 20, 2022, at 11:17, Mark Nottingham wrote:
>>> On 20 Oct 2022, at 10:57 am, Mark Nottingham <mnot@mnot.net> wrote:
>>> 
>>> One thing, just to make sure folks are aware: Retrofit currently defines a few places where SF parsing algorithms are relaxed, to make parsing more successful. See:
>>> https://github.com/httpwg/http-extensions/issues/2235
>>> 
>>> Conceivably, we could move these relaxations into retrofit and put them behind a flag or mode, so that they're integrated into the algorithms, rather than monkey-patching them. We'd need to do it in a way that doesn't affect "normal" SF parsing, though.
>>> 
>>> Thoughts?
>> 
>> I should have been more explicit: what do people think about expanding 
>> the scope of changes we'd consider to include this? I'm fine either 
>> way, just wanted to make sure folks were aware of the issue.
> 
> I'm in two minds on this one myself, though leaning toward the increased scope...
> 
> For:
> 
> These changes would make it so that many more fields could be interpreted as valid structured fields.  If we think that it would be better for retrofit - and the protocol overall - to be a tiny bit more permissive in processing of structured fields, then that work really should happen in the SF spec.
> 
> Against:
> 
> This increases the scope considerably and the likely timelines with it.  There is also a potential view that says that we shouldn't add this sort of permissiveness to SF.  We also have to consider the effect on deployed implementations of SF and what effect this might have on those.  Presumably we would be making parsing more permissive, but construction no less strict, which would help deployment, but we'd have to work through that process.
> 
> I'm definitely interested in hearing other opinions on this one.