Re: Genart last call review of draft-ietf-httpbis-header-structure-18

Willy Tarreau <w@1wt.eu> Thu, 07 May 2020 07:32 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 BB47E3A094B for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 7 May 2020 00:32:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.651
X-Spam-Level:
X-Spam-Status: No, score=-2.651 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.249, MAILING_LIST_MULTI=-1, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=unavailable 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 GKJh7KAXV_p4 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 7 May 2020 00:32:03 -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 1B3E93A0982 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 7 May 2020 00:32:03 -0700 (PDT)
Received: from lists by lyra.w3.org with local (Exim 4.92) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1jWaxc-0008SF-N4 for ietf-http-wg-dist@listhub.w3.org; Thu, 07 May 2020 07:28:48 +0000
Resent-Date: Thu, 07 May 2020 07:28:48 +0000
Resent-Message-Id: <E1jWaxc-0008SF-N4@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 <w@1wt.eu>) id 1jWaxb-0008RB-Sm for ietf-http-wg@listhub.w3.org; Thu, 07 May 2020 07:28:47 +0000
Received: from wtarreau.pck.nerim.net ([62.212.114.60] helo=1wt.eu) by mimas.w3.org with esmtp (Exim 4.92) (envelope-from <w@1wt.eu>) id 1jWaxa-0000FO-5p for ietf-http-wg@w3.org; Thu, 07 May 2020 07:28:47 +0000
Received: (from willy@localhost) by pcw.home.local (8.15.2/8.15.2/Submit) id 0477SKqA032260; Thu, 7 May 2020 09:28:20 +0200
Date: Thu, 07 May 2020 09:28:20 +0200
From: Willy Tarreau <w@1wt.eu>
To: Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc: Mark Nottingham <mnot@mnot.net>, gen-art <gen-art@ietf.org>, HTTP Working Group <ietf-http-wg@w3.org>, last-call@ietf.org
Message-ID: <20200507072820.GA32244@1wt.eu>
References: <158864148815.25056.4870473086918483854@ietfa.amsl.com> <2E578812-9E59-426E-85A9-B3A5AEA12853@mnot.net> <CAPDSy+4y9ZZ-f=MyV1b_-t5OygyYgdr3W4V4soiLVGOgzXKdMg@mail.gmail.com> <11202.1588710553@critter.freebsd.dk> <78C9039F-F687-41A1-A85D-CC8B3B82211B@mnot.net> <13256.1588748433@critter.freebsd.dk> <977F061C-A4BB-413B-B26C-51C7A694FA74@mnot.net> <17086.1588834035@critter.freebsd.dk>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <17086.1588834035@critter.freebsd.dk>
User-Agent: Mutt/1.6.1 (2016-04-27)
Received-SPF: pass client-ip=62.212.114.60; envelope-from=w@1wt.eu; helo=1wt.eu
X-W3C-Hub-Spam-Status: No, score=-7.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, W3C_AA=-1, W3C_IRA=-1, W3C_IRR=-3, W3C_WL=-1
X-W3C-Scan-Sig: mimas.w3.org 1jWaxa-0000FO-5p 6d3d647ef69b5cfe9fd8fd6be3a6c603
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Genart last call review of draft-ietf-httpbis-header-structure-18
Archived-At: <https://www.w3.org/mid/20200507072820.GA32244@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/37584
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>

On Thu, May 07, 2020 at 06:47:15AM +0000, Poul-Henning Kamp wrote:
> --------
> In message <977F061C-A4BB-413B-B26C-51C7A694FA74@mnot.net>, Mark Nottingham writes:
> 
> >Perhaps in full context:
> >
> >~~~
> >For example:
> >
> >  Example-ScaledInt: 4503; suffix=3DM
> >
> >Could be used to indicate a scaled value; in this case, 4,503,000,000, =
> >if the `M` suffix parameter is specified to denote multiplying the =
> >integer by 1,000,000.
> >~~~
> >
> >Thoughts?
> 
> Would people connect that to the 15 digit limitation ?

I really don't see what we're trying to save above. I mean, it
requires more code to encode the numbers, more bytes on the wire
in every single case, and more code on the decoding side, plus
all the absurd or difficult error cases that have to be carefully
dealt with.

Sending "4503000000" is enough to always represent the same thing
and being trivial to check in length and to parse.

Amusingly the proposed representation with this "suffix=3DM" could
even possibly trigger some artefacts becoming "suffix=M" when
accidentely fed through a MIME-aware decoder seeing "=3D" and turning
it to "=", but that's just a side detail which still indicates that
making things difficult to decode can only result in more mistakes.

Just my two cents,
Willy