Re: Fwd: New Version Notification for draft-nottingham-http-structure-retrofit-00.txt

Martin Thomson <mt@lowentropy.net> Fri, 08 October 2021 04: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 BBC913A09C1 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 7 Oct 2021 21:13:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.997
X-Spam-Level:
X-Spam-Status: No, score=-2.997 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.001, MAILING_LIST_MULTI=-1, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=lowentropy.net header.b=fIL/OcOw; dkim=pass (2048-bit key) header.d=messagingengine.com header.b=Uo3gBAMx
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 4h4yiMhnt6ud for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 7 Oct 2021 21:13:21 -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 58E7B3A09BB for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 7 Oct 2021 21:13:20 -0700 (PDT)
Received: from lists by lyra.w3.org with local (Exim 4.92) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1mYhCq-0001IL-A9 for ietf-http-wg-dist@listhub.w3.org; Fri, 08 Oct 2021 04:10:00 +0000
Resent-Date: Fri, 08 Oct 2021 04:10:00 +0000
Resent-Message-Id: <E1mYhCq-0001IL-A9@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 <mt@lowentropy.net>) id 1mYhCo-0001HZ-KT for ietf-http-wg@listhub.w3.org; Fri, 08 Oct 2021 04:09:58 +0000
Received: from wout2-smtp.messagingengine.com ([64.147.123.25]) by mimas.w3.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <mt@lowentropy.net>) id 1mYhCJ-0007Rg-Dm for ietf-http-wg@w3.org; Fri, 08 Oct 2021 04:09:58 +0000
Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id 3B8883200E18 for <ietf-http-wg@w3.org>; Fri, 8 Oct 2021 00:09:04 -0400 (EDT)
Received: from imap41 ([10.202.2.91]) by compute5.internal (MEProxy); Fri, 08 Oct 2021 00:09:04 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lowentropy.net; h=mime-version:message-id:in-reply-to:references:date:from:to :subject:content-type; s=fm3; bh=uaewdRFkhuURa+Xg7uLvyAchSOsJlld XWT5gJiaFkLg=; b=fIL/OcOwY+XZHIA5wQ8sertIx5eDnxc+DBGaAlqkkd1RGUW /MXvHT8oeubos924+r/hTyaA0ePubvniE4rlYrbrL7N5IUq7fGxuLksEDSFLDXP5 wE5gOuC/8jXwKJkim1ywtc+K+aECS6WuBpGVkIElwqUO4stzWRo8CwJik089SPyo PXZdrd1TLZr2jERYo7/VkE5AO4o4TO7IF01zy46AS43aSTp7NBn6LrrpgEHwgFbR pZBc7t80TzhBHEKNag9gZOPEOIbRz4NfIMyJ8tUB7eEiu2cfl7rWdBzHUfEBN30U XsRLOrCRHPjJWTe7tWbKWZYjkuJJIzrzWNYhsDw==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=uaewdR FkhuURa+Xg7uLvyAchSOsJlldXWT5gJiaFkLg=; b=Uo3gBAMxsv0cAGfngJ94sp c/HAGmWMgB5Ajwcm9B9kKOSETn8V6O1RmPJwgIt+tA9DI0z3QXNzWD9aNfv9Kkx2 wqapsbvVUxDYtogLQknnwnATpMXGSxTR8HR6l7mP+AvmhcqgQjWdyBHWM2qOU2M7 DQHev8ekzMwHFgRT+gGYEbrW2eHgiHpIWcaPvZBKchjXgfC5+KyYbYSwCofX9POV 1yv0QxWZb2nmZAemdtWnwVuK2r/f1D1WqSCx6ht0ipsIJ8SOFiTdoAokUu2aU0/9 099JXtMaDfFLPHub1S3W0zG1Xp1VNKcpqShb7Y9aNAZ7arE4lCCNuqxP0rZ2gtUg ==
X-ME-Sender: <xms:XsRfYTLy2fNgd37f_fTMtTJuQQaACyAndquhB1zQckFEJhlQqGtVrg> <xme:XsRfYXInc42WRLL0jMQ0dWHRy244XSZXsxFt42X5P0w2e8bnOUtGC3ueAwh8UDUpS aH_2nr4UOa-kB502m4>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrudelledgjeefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefofgggkfgjfhffhffvufgtsehttd ertderreejnecuhfhrohhmpedfofgrrhhtihhnucfvhhhomhhsohhnfdcuoehmtheslhho figvnhhtrhhophihrdhnvghtqeenucggtffrrghtthgvrhhnpefgveduudetfedtffegud euieelfeeigfehheefleejtddvuddukefghfegveeikeenucffohhmrghinhepihgvthhf rdhorhhgpdhmnhhothdrnhgvthenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmh epmhgrihhlfhhrohhmpehmtheslhhofigvnhhtrhhophihrdhnvght
X-ME-Proxy: <xmx:XsRfYbuP8N-bE2szvijA7km0WqqzIki1TNFRiD6d7LJxis4j9eMrXA> <xmx:XsRfYcag1mkqEPPz_jRvLmHK-DgMYBvV0Kc1qF0D7kpnCWpu314kFw> <xmx:XsRfYaYcoAtf0jH0K-o4b0PUNwgPLJs2sDFgUkU3AK6_joQE_Dk0fw> <xmx:X8RfYTmxD2hLmflwYvEFTzzrtO0HX_Hoch4xukuKEDsi32Xov_FnkA>
Received: by mailuser.nyi.internal (Postfix, from userid 501) id 818AD3C0246; Fri, 8 Oct 2021 00:09:02 -0400 (EDT)
X-Mailer: MessagingEngine.com Webmail Interface
User-Agent: Cyrus-JMAP/3.5.0-alpha0-1331-g5ae342296a-fm-20211005.001-g5ae34229
Mime-Version: 1.0
Message-Id: <06c86405-9601-4fbd-8b07-b3806422808a@www.fastmail.com>
In-Reply-To: <43D9422B-7394-4C16-AFCB-BD33B0948ECE@mnot.net>
References: <163356151986.31315.12684234198541606446@ietfa.amsl.com> <43D9422B-7394-4C16-AFCB-BD33B0948ECE@mnot.net>
Date: Fri, 08 Oct 2021 15:08:07 +1100
From: Martin Thomson <mt@lowentropy.net>
To: ietf-http-wg@w3.org
Content-Type: text/plain
Received-SPF: pass client-ip=64.147.123.25; envelope-from=mt@lowentropy.net; helo=wout2-smtp.messagingengine.com
X-W3C-Hub-DKIM-Status: validation passed: (address=mt@lowentropy.net domain=lowentropy.net), signature is good
X-W3C-Hub-DKIM-Status: validation passed: (address=mt@lowentropy.net domain=messagingengine.com), signature is good
X-W3C-Hub-Spam-Status: No, score=-6.8
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, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, W3C_AA=-1, W3C_DB=-1, W3C_IRA=-1, W3C_WL=-1
X-W3C-Scan-Sig: mimas.w3.org 1mYhCJ-0007Rg-Dm 2d51d9f02ca3c064851d6abe5d5c3fd5
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Fwd: New Version Notification for draft-nottingham-http-structure-retrofit-00.txt
Archived-At: <https://www.w3.org/mid/06c86405-9601-4fbd-8b07-b3806422808a@www.fastmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/39442
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>

Hi Mark,

I was just reading Mike's draft and was reminded of the shape of Alt-Svc:

  alt-value     = alternative *( OWS ";" OWS parameter )
  alternative   = protocol-id "=" alt-authority

That doesn't fit the dictionary syntax in RFC 8941.  Dictionaries can't have a value and parameters at the same time:

  dict-member    = member-key ( parameters / ( "=" member-value ))

I conclude that SF-Alt-Svc is necessary to make this fit.  I don't know how to do that exactly, but it seems like you could fix the ALPN issue at the same time.  Having a restriction on what ALPN we can use for future HTTP versions doesn't seem like it would be a big burden, so maybe ``SF-Alt-Svc: h3-9000;h="authority.example:443";ma=12345'' isn't so bad.

On Thu, Oct 7, 2021, at 10:07, Mark Nottingham wrote:
> FYI. 
>
> This was previously hidden in the binary structured fields draft, but 
> it seems potentially useful for other purposes -- e.g., exposing more 
> fields in a structure-oriented API for HTTP (e.g., Fetch), 
> canonicalising fields (e.g., for Signatures), etc.
>
> Cheers,
>
>
>> Begin forwarded message:
>> 
>> *From: *internet-drafts@ietf.org
>> *Subject: **New Version Notification for draft-nottingham-http-structure-retrofit-00.txt*
>> *Date: *7 October 2021 at 10:05:19 am AEDT
>> *To: *"Mark Nottingham" <mnot@mnot.net>
>> 
>> 
>> A new version of I-D, draft-nottingham-http-structure-retrofit-00.txt
>> has been successfully submitted by Mark Nottingham and posted to the
>> IETF repository.
>> 
>> Name: draft-nottingham-http-structure-retrofit
>> Revision: 00
>> Title: Retrofit Structured Fields for HTTP
>> Document date: 2021-10-07
>> Group: Individual Submission
>> Pages: 14
>> URL:            https://www.ietf.org/archive/id/draft-nottingham-http-structure-retrofit-00.txt
>> Status:         https://datatracker.ietf.org/doc/draft-nottingham-http-structure-retrofit/
>> Html:           https://www.ietf.org/archive/id/draft-nottingham-http-structure-retrofit-00.html
>> Htmlized:       https://datatracker.ietf.org/doc/html/draft-nottingham-http-structure-retrofit
>> 
>> 
>> Abstract:
>>   This specification defines how a selection of existing HTTP fields
>>   can be handled as Structured Fields.
>> 
>> 
>> 
>> 
>> The IETF Secretariat
>> 
>> 
>
> --
> Mark Nottingham   https://www.mnot.net/