Re: #536: clarify extensibility for :pseudo header fields

Mark Nottingham <mnot@mnot.net> Wed, 02 July 2014 06:34 UTC

Return-Path: <ietf-http-wg-request@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 (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 721A61B28DB for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 1 Jul 2014 23:34:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.553
X-Spam-Level:
X-Spam-Status: No, score=-7.553 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.651, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham
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 Yz-4dUH0lSB4 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 1 Jul 2014 23:34:05 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 125831B28D8 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 1 Jul 2014 23:34:05 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1X2E5e-0003GL-Pj for ietf-http-wg-dist@listhub.w3.org; Wed, 02 Jul 2014 06:32:22 +0000
Resent-Date: Wed, 02 Jul 2014 06:32:22 +0000
Resent-Message-Id: <E1X2E5e-0003GL-Pj@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1X2E5b-0003Dv-GJ for ietf-http-wg@listhub.w3.org; Wed, 02 Jul 2014 06:32:19 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1X2E5a-0007He-DY for ietf-http-wg@w3.org; Wed, 02 Jul 2014 06:32:19 +0000
Received: from [192.168.1.55] (unknown [118.209.193.75]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id E593522E255; Wed, 2 Jul 2014 02:31:52 -0400 (EDT)
Content-Type: text/plain; charset="us-ascii"
Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.2\))
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <19369.1404282611@critter.freebsd.dk>
Date: Wed, 02 Jul 2014 16:31:50 +1000
Cc: David Krauss <potswa@gmail.com>, Martin Thomson <martin.thomson@gmail.com>, "Julian F. Reschke" <julian.reschke@gmx.de>, HTTP Working Group <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <A1CF2CEC-63F5-4F90-9C0F-12958215E7BA@mnot.net>
References: <FABE6551-C5F1-408E-824A-BD1EF6AED121@mnot.net> <53B2598E.1050407@gmx.de> <CABkgnnXQ+b660OFYwuz1+hgNJ6Dy2ucNjB6dNTEtuDaDN_Hvgg@mail.gmail.com> <F5B31C27-8144-45BC-8722-179FA438FE24@mnot.net> <F96C625C-88E6-4670-9EC9-D15B8B32F000@gmail.com> <A052DBEE-6C6A-488D-BB93-27BA4CF8D077@mnot.net> <1E477F03-9F64-40EE-B3C2-83FB7C75C6A1@gmail.com> <1E9B1054-6B2A-4646-8EE5-8A4A98020593@mnot.net> <AC8B4346-6662-4F8F-B4B9-895271D6C75D@gmail.com> <8E7C2C2B-6A37-4A95-B9EE-E21D8BEB4C1A@mnot.net> <3CACEE54-8D4E-4FAA-99C3-132861C25831@gmail.com> <12B49AD7-ED84-413E-8A63-4D365896C3F2@mnot.net> <961E96EE-0554-48AD-907C-FD3055584CE2@gmail.com> <19369.1404282611@critter.freebsd.dk>
To: Poul-Henning Kamp <phk@phk.freebsd.dk>
X-Mailer: Apple Mail (2.1878.2)
Received-SPF: pass client-ip=216.86.168.182; envelope-from=mnot@mnot.net; helo=mxout-07.mxes.net
X-W3C-Hub-Spam-Status: No, score=-3.8
X-W3C-Hub-Spam-Report: AWL=-3.052, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1X2E5a-0007He-DY b4fc4b80c00ab60342868469c95a5618
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #536: clarify extensibility for :pseudo header fields
Archived-At: <http://www.w3.org/mid/A1CF2CEC-63F5-4F90-9C0F-12958215E7BA@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/25050
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: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

Personally - 

On 2 Jul 2014, at 4:30 pm, Poul-Henning Kamp <phk@phk.freebsd.dk> wrote:

> In message <961E96EE-0554-48AD-907C-FD3055584CE2@gmail.com>, David Krauss writes:
>> 
>> On 2014=9607=9602, at 2:07 PM, Mark Nottingham <mnot@mnot.net> wrote:
>> 
>>> Now I'm confused. We're currently talking about whether extra :headers =
>> are a hard error when http/2 is in use. What's an ALPN-basis API?
> 
> I always assumed that the :headers only were HTTP/2s internal way of
> representing the first line of HTTP/1 messages on the wire, not a way
> to add an entirely new namespace to HTTP headers/metadata ?

+1

> If some extensions need namespaces in HTTP headers, we should add
> namespaces which will (or can be made to) work in both HTTP/1,
> HTTP/2 and any future HTTP versions, not latch onto an implementation
> detail in one particular version of HTTP.

+1 -- although I think they're just headers... it could be that we add structure to header field-names (indeed, I saw that suggested privately very recently), but we're not yet there.

> Traditionally namespaces delimiters have been ':' but that will certainly
> break too many HTTP/1 implementations to be feasible, but there are plenty
> of ASCII characters available that could be used: '=', '/' and so on.
> 
> In other words:  Please limit :headers to the ones in 8.1.3.1 and 8.1.3.2
> and make attempts to smuggle any other :header through a hard protocol error.

+1

--
Mark Nottingham   https://www.mnot.net/