Re: Last Call: <draft-ietf-httpbis-header-structure-18.txt> (Structured Field Values for HTTP) to Proposed Standard

Julian Reschke <julian.reschke@gmx.de> Sat, 16 May 2020 03:43 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 4239A3A093D for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 15 May 2020 20:43:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.648
X-Spam-Level:
X-Spam-Status: No, score=-2.648 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.25, MAILING_LIST_MULTI=-1, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=gmx.net
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 AYQJwLg_NAZ8 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 15 May 2020 20:43:38 -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 E1E973A093A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 15 May 2020 20:43:37 -0700 (PDT)
Received: from lists by lyra.w3.org with local (Exim 4.92) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1jZngW-0005Xq-7S for ietf-http-wg-dist@listhub.w3.org; Sat, 16 May 2020 03:40:24 +0000
Resent-Date: Sat, 16 May 2020 03:40:24 +0000
Resent-Message-Id: <E1jZngW-0005Xq-7S@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 <julian.reschke@gmx.de>) id 1jZngR-0005X4-Jz for ietf-http-wg@listhub.w3.org; Sat, 16 May 2020 03:40:19 +0000
Received: from mout.gmx.net ([212.227.17.21]) by mimas.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from <julian.reschke@gmx.de>) id 1jZngP-0005X4-KS for ietf-http-wg@w3.org; Sat, 16 May 2020 03:40:19 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1589600374; bh=GbwBZqp1p/gLz1YXoXbOc5/9UVjFxmCFkPzCJDDCJZ0=; h=X-UI-Sender-Class:Subject:To:Cc:References:From:Date:In-Reply-To; b=I8NbH0tS+kEdOtQp7+H/WqUM81D4SEK7wAJG7btX4jz7Gc+UO8roE76qTjV3A7SQd YY9daFNj81+gAdJd3t75B03jHQ6xOA/HWgfkHMR8DxF6vx+ygffKn6IkoJHFTNyh/q uheGtW9/BIQD37wAC3729naa3M7L4Jv84aqgYNBM=
X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c
Received: from [192.168.178.182] ([217.251.143.114]) by mail.gmx.com (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1Mz9Ux-1jD49V0AVf-00wATA; Sat, 16 May 2020 05:39:34 +0200
To: Poul-Henning Kamp <phk@phk.freebsd.dk>, mnot@mnot.net, phk@varnish-cache.org
Cc: Willy Tarreau <w@1wt.eu>, last-call@ietf.org, httpbis-chairs@ietf.org, ietf-http-wg@w3.org, barryleiba@gmail.com, draft-ietf-httpbis-header-structure@ietf.org
References: <158740521959.1174.9556681562748997101@ietfa.amsl.com> <bb3a29ff-1a0f-964d-c764-4d4819d338da@gmx.de> <4184EA3A-793F-4F29-8E99-FD371F35F6AC@mnot.net> <0150efc3-9d69-3ada-b714-5d2d6c9dbed3@gmx.de> <20200515151336.GB8412@1wt.eu> <4859a11f-5649-b633-f43b-facf036e61c7@gmx.de> <44485.1589558797@critter.freebsd.dk>
From: Julian Reschke <julian.reschke@gmx.de>
Message-ID: <3aa18f59-889b-bb3e-289d-0936bb18a9a8@gmx.de>
Date: Sat, 16 May 2020 05:39:32 +0200
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0
MIME-Version: 1.0
In-Reply-To: <44485.1589558797@critter.freebsd.dk>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: quoted-printable
X-Provags-ID: V03:K1:vkVxeEBHJGM5vuScIipslWRwKOqBIz2wO8mRYdcTM/vijkJbIH9 1o7EIy/dVhgUeGsz9TmKXnVKIzzGTw7mydYto3KfbXvorXDuDwBtG1iMY6rJpxCg/47NfU0 Qsh2Rs8J0ysoVeEmkRiuLBL40JNgbm2P94m+KWerDQuf+XRvu6y1FZerba/npeajq0IKGZf nHDJHPZXvRsZ/VFZQlh0Q==
X-UI-Out-Filterresults: notjunk:1;V03:K0:tKqJqAsncBw=:IcwWB0GexLLekpbUHac9gc fQmAvJkt7mabE1J5+VAd7Yh0nLJLWp0E4t/CdYz37vHeKq0AVrF5S7qM525PUoNrPaCifhvby SVpEppD0F5tfKXo8ti5QrSabDp8hj1LCV1r1kQ/OBGPrKNHhh6h1+N27fvFqIn48lQraE/6+P Nw8Of4KETDAifTLaeyOwIDI0H4W60vR9nwgqBPlN6JECDp1wAvopKnncST5HsZeTKnm4/3yEP C3EKTXDvNuYskFEBlxMVuVvklsoXgBK5v5s4n92+R6Pp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am-Status: No, score=-5.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, W3C_AA=-1, W3C_IRA=-1, W3C_WL=-1
X-W3C-Scan-Sig: mimas.w3.org 1jZngP-0005X4-KS 25557b63818c5fe77318e94f7cfaeef1
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Last Call: <draft-ietf-httpbis-header-structure-18.txt> (Structured Field Values for HTTP) to Proposed Standard
Archived-At: <https://www.w3.org/mid/3aa18f59-889b-bb3e-289d-0936bb18a9a8@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/37636
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 15.05.2020 18:06, Poul-Henning Kamp wrote:
> --------
> In message <4859a11f-5649-b633-f43b-facf036e61c7@gmx.de>de>, Julian Reschke writes
> :
>
>> Related to this: it just occurred to me that:
>>
>>    Test: Foo
>>    Test:
>>    Test: Bar
>>
>> yields different results for fields using HTTP's list notation, and
>> structured header fields.
>>
>> In the former case, the combined value is equivalent to
>>
>>    Test: Foo, Bar
>>
>> while in the latter case, the field is malformed.
>>
>> I *really* think it would be better if structured header fields would
>> actually be "proper" applications of the standard HTTP list ABNF.
>
> Considering how rarely used multiple-headers are (apart from The
> Cookie Mistake) I think it would be much simpler, better and wiser
> to restrict SH to single, non-concatenated headers.

I have no idea what the exact proposal would be. Fail when multiple
instances are there?

> ...

Best regards, Julian