HTTP/3 Nits

Martin Duke <martin.h.duke@gmail.com> Fri, 16 October 2020 16:33 UTC

Return-Path: <martin.h.duke@gmail.com>
X-Original-To: quic@ietfa.amsl.com
Delivered-To: quic@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9412F3A0FCB; Fri, 16 Oct 2020 09:33:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.854
X-Spam-Level:
X-Spam-Status: No, score=-0.854 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, NORMAL_HTTP_TO_IP=0.001, NUMERIC_HTTP_ADDR=1.242, SPF_HELO_NONE=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=gmail.com
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 k-iU2Jti5j62; Fri, 16 Oct 2020 09:33:27 -0700 (PDT)
Received: from mail-il1-x129.google.com (mail-il1-x129.google.com [IPv6:2607:f8b0:4864:20::129]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D4FBA3A0FB8; Fri, 16 Oct 2020 09:33:27 -0700 (PDT)
Received: by mail-il1-x129.google.com with SMTP id z2so3282704ilh.11; Fri, 16 Oct 2020 09:33:27 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to:cc; bh=LYCd2f6ApyJ0GL5GXDLP3T4aANvRnygvzfJubfJ5ndI=; b=IaduEKutX5i6W+LDCq8uFLcMATGGh1z/I88RQmrXT7iDGXb5SrkjPxzfWNsAXahFvK 1Zl5tdI03C83ae0AeMe+a5YY3FJEDo2uQuYJVSvoJdVHQcK0nb5KOP9cAX/EO+nqBUue HXBI8nHMZMElSoEDbNpIk2HaSNoj/HEyAuI3gT+KH2a/hYSQPZfKceDLIqjaAKS0QFj2 Gp9bEH3kmRkSiDLIVMYMGPVb9m1jt/MLY5Wo29VqEpphBlMeSPQAUpFhycScq/SqfBn4 w2+yRQ7J1KCLWmZOdkxzFkbzmOK0dkHTfq8Rzs81ErQmED/+4k4j1N5PkVVksV3VS5Ui Ji9A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=LYCd2f6ApyJ0GL5GXDLP3T4aANvRnygvzfJubfJ5ndI=; b=oprvO8vcliJsM/G30DXrl8hunkfmCReIhd4hzYDGeKQqf8/0wZx9k0Ww0SDsowZAoH U+767K++nhCQ/eMtXEpNW/Opna5nzArtLd5uPOL0cA4h6+gXckYAwXs22ziwBHrLYmLS E0Me8NVE/wsHm7xzn5qcmJJPhCUM7dFQtxltg3Y4lDHFHVDbKZ+yqhSQ08pLrULCcycN vHxXfuvOjXs+wNZHW6uGp/oPvvzURE1HuW6U0VRfjll2yRfOBNHwl3vPwYvxRlmNjErE NO5nqGaT3p3soz2orBdXvstrTyjJrgTRYT1x04UKBlxhoztNG2ZYxdp/Kyl0vWY8vcml iuGw==
X-Gm-Message-State: AOAM531A/WIP8UUQrxRXRbLkiEen9Q1oucZbU7zJ0TPBrH0N0qSEtF5M 9YSjDITy+tKMpYeHC1jrm7E5qcxTpXomT84AqEA=
X-Google-Smtp-Source: ABdhPJzT0tJ1/VUMqRFoaslXttut+r/A84zlpCRYuaF54MXDsyRVaiPRclms9J3KiTrne1/qzvOwyOi1R7gPNHTLXuE=
X-Received: by 2002:a92:d808:: with SMTP id y8mr3382740ilm.249.1602866006975; Fri, 16 Oct 2020 09:33:26 -0700 (PDT)
MIME-Version: 1.0
From: Martin Duke <martin.h.duke@gmail.com>
Date: Fri, 16 Oct 2020 09:33:18 -0700
Message-ID: <CAM4esxRLivWuyJQ8=JeEn-XZq6WaYkw_WWxqMNBbprx6S=fU6Q@mail.gmail.com>
Subject: HTTP/3 Nits
To: Mike Bishop <mbishop@evequefou.be>, Lucas Pardue <lucaspardue.24.7@gmail.com>, Lars Eggert <lars@eggert.org>, Magnus Westerlund <magnus.westerlund@ericsson.com>, "Duke, Martin" <martin.h.duke@gmail.com>, WG Chairs <quic-chairs@ietf.org>
Cc: IETF QUIC WG <quic@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000f7ecb905b1cc52b7"
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic/Wz9BddQr2IdFLjYVcssGjUN6GE0>
X-BeenThere: quic@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Main mailing list of the IETF QUIC working group <quic.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/quic>, <mailto:quic-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/quic/>
List-Post: <mailto:quic@ietf.org>
List-Help: <mailto:quic-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/quic>, <mailto:quic-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 16 Oct 2020 16:33:30 -0000

So I know this is late, so I'm not filing an issue pending the advice of
the recipients here.

Section 4.1.1.1:



(4.a1)   Pseudo-header fields are not HTTP fields.  Endpoints MUST NOT

(4.a2)   generate pseudo-header fields other than those defined in this

(4.a3)   document, except as negotiated via an extension; see Section
9 <https://tools.ietf.org/html/draft-ietf-quic-http-31#section-9>.



Section 9 describes a list of registries for an expanding properties:
9 <https://tools.ietf.org/html/draft-ietf-quic-http-31#section-9>.
Extensions to HTTP/3

(9.a1)   HTTP/3 permits extension of the protocol.  Within the limitations

(9.a2)   described in this section, protocol extensions can be used to provide

(9.a3)   additional services or alter any aspect of the protocol.  Extensions

(9.a4)   are effective only within the scope of a single HTTP/3 connection.



(9.b1)   This applies to the protocol elements defined in this document.  This

(9.b2)   does not affect the *existing options for extending HTTP*, such as

(9.b3)   defining new methods, status codes, or *fields*.



(9.c1)   Extensions are permitted to use new frame types (Section 7.2
<https://tools.ietf.org/html/draft-ietf-quic-http-31#section-7.2>),
new

(9.c2)   settings (Section 7.2.4.1
<https://tools.ietf.org/html/draft-ietf-quic-http-31#section-7.2.4.1>),
new error codes (Section 8
<https://tools.ietf.org/html/draft-ietf-quic-http-31#section-8>), or
new

(9.c3)   unidirectional stream types (Section 6.2
<https://tools.ietf.org/html/draft-ietf-quic-http-31#section-6.2>).
Registries are

(9.c4)   established for managing these extension points: frame types

(9.c5)   (Section 11.2.1
<https://tools.ietf.org/html/draft-ietf-quic-http-31#section-11.2.1>),
settings (Section 11.2.2
<https://tools.ietf.org/html/draft-ietf-quic-http-31#section-11.2.2>),
error codes

(9.c6)   (Section 11.2.3
<https://tools.ietf.org/html/draft-ietf-quic-http-31#section-11.2.3>),
and stream types (Section 11.2.4
<https://tools.ietf.org/html/draft-ietf-quic-http-31#section-11.2.4>).


If 4.1.1.1 is accurate, then shouldn't there be a registry for HTTP/3
pseudoheaders? IIUC pseudoheader extensions are not possible in HTTP
or HTTP/2, so this is an H3-specific registry.


Martin