W3C home > Mailing lists > Public > ietf-http-wg@w3.org > October to December 2021

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

From: Martin Thomson <mt@lowentropy.net>
Date: Fri, 08 Oct 2021 15:08:07 +1100
Message-Id: <06c86405-9601-4fbd-8b07-b3806422808a@www.fastmail.com>
To: ietf-http-wg@w3.org
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/
Received on Friday, 8 October 2021 04:09:58 UTC

This archive was generated by hypermail 2.4.0 : Thursday, 2 February 2023 18:44:06 UTC