Re: draft-ietf-httpbis-jfv: what's next

"Poul-Henning Kamp" <phk@phk.freebsd.dk> Sun, 16 October 2016 07: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 24FDE1295BA for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 16 Oct 2016 00:13:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.332
X-Spam-Level:
X-Spam-Status: No, score=-7.332 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.431, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
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 L2Icj68teiEX for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 16 Oct 2016 00:13:09 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9AFE41295B2 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 16 Oct 2016 00:13:09 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1bvfZ4-0007VT-7u for ietf-http-wg-dist@listhub.w3.org; Sun, 16 Oct 2016 07:08:58 +0000
Resent-Date: Sun, 16 Oct 2016 07:08:58 +0000
Resent-Message-Id: <E1bvfZ4-0007VT-7u@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtps (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <phk@phk.freebsd.dk>) id 1bvfYy-0007Ud-JA for ietf-http-wg@listhub.w3.org; Sun, 16 Oct 2016 07:08:52 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by lisa.w3.org with esmtp (Exim 4.80) (envelope-from <phk@phk.freebsd.dk>) id 1bvfYw-00068P-ME for ietf-http-wg@w3.org; Sun, 16 Oct 2016 07:08:51 +0000
Received: from critter.freebsd.dk (unknown [192.168.55.3]) by phk.freebsd.dk (Postfix) with ESMTP id 24419273CD; Sun, 16 Oct 2016 07:08:27 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.15.2/8.15.2) with ESMTP id u9G78OIT081494; Sun, 16 Oct 2016 07:08:25 GMT (envelope-from phk@phk.freebsd.dk)
To: Willy Tarreau <w@1wt.eu>
cc: Martin Thomson <martin.thomson@gmail.com>, Matt Menke <mmenke@google.com>, HTTP Working Group <ietf-http-wg@w3.org>
In-reply-to: <20161016052641.GA28987@1wt.eu>
From: Poul-Henning Kamp <phk@phk.freebsd.dk>
References: <CAEK7mvoXqyX3cADJytjU+C158EULgPLbzAb5kiUN=8WWxhi29Q@mail.gmail.com> <78301.1476524467@critter.freebsd.dk> <CABkgnnXw7WacnMf4Nsx-drktn__V4afK61G67A5bT5SSdqaucQ@mail.gmail.com> <79226.1476546544@critter.freebsd.dk> <20161015213519.GA28177@1wt.eu> <80098.1476570364@critter.freebsd.dk> <20161016052641.GA28987@1wt.eu>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-ID: <81492.1476601704.1@critter.freebsd.dk>
Date: Sun, 16 Oct 2016 07:08:24 +0000
Message-ID: <81493.1476601704@critter.freebsd.dk>
Received-SPF: none client-ip=130.225.244.222; envelope-from=phk@phk.freebsd.dk; helo=phk.freebsd.dk
X-W3C-Hub-Spam-Status: No, score=-5.5
X-W3C-Hub-Spam-Report: AWL=-1.292, BAYES_00=-1.9, RP_MATCHES_RCVD=-0.312, W3C_AA=-1, W3C_WL=-1
X-W3C-Scan-Sig: lisa.w3.org 1bvfYw-00068P-ME 48df627aeaddf410d6d9d8a35e894bdc
X-Original-To: ietf-http-wg@w3.org
Subject: Re: draft-ietf-httpbis-jfv: what's next
Archived-At: <http://www.w3.org/mid/81493.1476601704@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/32608
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>

--------
In message <20161016052641.GA28987@1wt.eu>, Willy Tarreau writes:
>On Sat, Oct 15, 2016 at 10:26:04PM +0000, Poul-Henning Kamp wrote:
>> >And what about #4 consisting in indicating the encoding in the header
>> >field *name* instead
>> 
>> That's quite a hack, isn't it ?
>
>Not that much after all when you think about it, because our parsers
>will have to consider the field name to know how to decode the value.

At the semantic level, yes.

But not at the serdes level.

And if we pull off the "data dictionary" idea, we can machine generate
parsers which do that for specific cases.

But I would hate to make it part of the definition.

If nothing else, because it takes the 19 existing headers out of
the CS cover.


-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.