Re: [Gen-art] Genart last call review of draft-ietf-httpbis-header-structure-18

Ian Clelland <iclelland@google.com> Mon, 11 May 2020 14:00 UTC

Return-Path: <iclelland@google.com>
X-Original-To: gen-art@ietfa.amsl.com
Delivered-To: gen-art@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9F7A63A0AC6 for <gen-art@ietfa.amsl.com>; Mon, 11 May 2020 07:00:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -17.599
X-Spam-Level:
X-Spam-Status: No, score=-17.599 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, ENV_AND_HDR_SPF_MATCH=-0.5, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, USER_IN_DEF_DKIM_WL=-7.5, USER_IN_DEF_SPF_WL=-7.5] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=google.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 i5RTXb3YP2qJ for <gen-art@ietfa.amsl.com>; Mon, 11 May 2020 07:00:37 -0700 (PDT)
Received: from mail-ed1-x534.google.com (mail-ed1-x534.google.com [IPv6:2a00:1450:4864:20::534]) (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 7A8853A0A9B for <gen-art@ietf.org>; Mon, 11 May 2020 07:00:37 -0700 (PDT)
Received: by mail-ed1-x534.google.com with SMTP id f12so8019888edn.12 for <gen-art@ietf.org>; Mon, 11 May 2020 07:00:37 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=qrdimZPbUV39yCJKt69syc0xNELEM/UcHgC48yUAlBc=; b=jvq5m3JC261qBoBl/Ow3Nd8dmtM+suxoZHy+A7SURVPb8VbB4dFEky2Kp73Us/j2RS ONYEDZ1pC0LTMta9gFWZjY4B3Z+aKg0yxMH00Om5ICRWIp2rdOQ1bCJ4lEH2cOlX1UOI YrA1S5PwEyw8gkjFRvhANcOHqCIMa9fppQgAEieW+siZZoK5xEVgJPZeOrypbCvctg15 ouHNfjIoioYNwtRVUcm68MB7NfNJ0MShJiL8/IXQeBaa/RZMEfAP7L92iRWf8Wl1uuRd Vpd9Ro2YfuA3jKOn6IJLl/GPLuKrKNEQJaxIWRXRrmwC1I9BX2g2VQ0mxyo3YF65h3eA +6iA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=qrdimZPbUV39yCJKt69syc0xNELEM/UcHgC48yUAlBc=; b=WgPiNDffIG4MLtxvRThOpwIp4rC7KUfk5AXJoB9ib/0cJ58XmBWeMAi4+m5CxZwp4g TrIM+8ec0FCi11tafsGis5PmK7h10tMUhFacOm0g/KVG4mbTiFsreGfys76/i8xK5wKt gK8KDGjuj4ud3TZvPvKZyJs9/weHE8BHh11ROeShM6g9N5JiBg57HFa5nlWRadSwcWbF /eWeep3OQP0h15TPQSVb2lxXenMkZvZiylm1xnJ9zYckWB3iXmAAnbVyzQaH9rbPdS5S 1vzJBc+k6bmN9vHwggO4DnNmkZwqQjmU/ydRqChu0S6a4NxtAmLbgAmYcAIQmiVW8s3K kH4A==
X-Gm-Message-State: AGi0PuYTe9qoa4oxYhSdixNPBY4+BFpnRJwsCtQuDM0v/npCU9nFg3gT V1fCOk/XVdgHKh4DSlw13iHUk6zoCz9XoQ8QmjGRgA==
X-Google-Smtp-Source: APiQypJgMcwsm+VGVZvUAX7XcylD6NqdqDVOhBQIpJFA+SbTjEinliVVE4UFH+C7QbXzRGsWxmiZ/HLdEqZrNAu/TIQ=
X-Received: by 2002:a05:6402:507:: with SMTP id m7mr13945372edv.7.1589205635337; Mon, 11 May 2020 07:00:35 -0700 (PDT)
MIME-Version: 1.0
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> <20200507072820.GA32244@1wt.eu>
In-Reply-To: <20200507072820.GA32244@1wt.eu>
From: Ian Clelland <iclelland@google.com>
Date: Mon, 11 May 2020 10:00:23 -0400
Message-ID: <CAK_TSXK-J=4STodPtDeCHFXyeuM+6ixMBxSsmmMkZ1gMP5P9nQ@mail.gmail.com>
To: Willy Tarreau <w@1wt.eu>
Cc: Poul-Henning Kamp <phk@phk.freebsd.dk>, Mark Nottingham <mnot@mnot.net>, gen-art <gen-art@ietf.org>, HTTP Working Group <ietf-http-wg@w3.org>, last-call@ietf.org
Content-Type: multipart/alternative; boundary="0000000000005f065a05a55fc5bf"
Archived-At: <https://mailarchive.ietf.org/arch/msg/gen-art/4B_XZB6mkiZbL7vnMfJo2WZ0vJw>
X-Mailman-Approved-At: Mon, 11 May 2020 16:00:32 -0700
Subject: Re: [Gen-art] Genart last call review of draft-ietf-httpbis-header-structure-18
X-BeenThere: gen-art@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "GEN-ART: General Area Review Team" <gen-art.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/gen-art>, <mailto:gen-art-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/gen-art/>
List-Post: <mailto:gen-art@ietf.org>
List-Help: <mailto:gen-art-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/gen-art>, <mailto:gen-art-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 11 May 2020 14:00:43 -0000

On Thu, May 7, 2020 at 3:32 AM Willy Tarreau <w@1wt.eu> wrote:

> 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 <(450)%20300-0000>" 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.
>

I think that's exactly what happened here, in reverse -- mnot's original
suggestion was just a parameter "suffix=M", and in phk's reply, I see the
corrupted "suffix=3DM", so likely somebody's MUA got confused along the way.

I don't think that's an argument for abandoning "=" as the param/value
separator, though :)

Ian