Re: JSON headers

Julian Reschke <julian.reschke@greenbytes.de> Sun, 10 July 2016 08:38 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 8346212B00F for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 10 Jul 2016 01:38:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.308
X-Spam-Level:
X-Spam-Status: No, score=-8.308 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-1.287, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=greenbytes.de header.b=OxUaW/qy; dkim=pass (1024-bit key) header.d=greenbytes.de header.b=SS138SGa
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 5HqoQw7eSzEm for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 10 Jul 2016 01:38:42 -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 2ACF812B009 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 10 Jul 2016 01:38:42 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1bMACA-0001Wl-CH for ietf-http-wg-dist@listhub.w3.org; Sun, 10 Jul 2016 08:34:34 +0000
Resent-Date: Sun, 10 Jul 2016 08:34:34 +0000
Resent-Message-Id: <E1bMACA-0001Wl-CH@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtps (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <julian.reschke@greenbytes.de>) id 1bMAC9-0001W7-2C for ietf-http-wg@listhub.w3.org; Sun, 10 Jul 2016 08:34:33 +0000
Received: from mail.greenbytes.de ([5.10.171.186]) by maggie.w3.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from <julian.reschke@greenbytes.de>) id 1bMAC6-0008Pj-FI for ietf-http-wg@w3.org; Sun, 10 Jul 2016 08:34:32 +0000
Received: by mail.greenbytes.de (Postfix, from userid 117) id 3CE6E15A0EC9; Sun, 10 Jul 2016 10:34:02 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=greenbytes.de; s=mail; t=1468139642; bh=CaucDDj3Xw5J3TSHaiFQCs2nMzBBTpRaO35pyEdAVNo=; h=Subject:To:References:Cc:From:Date:In-Reply-To:From; b=OxUaW/qyFCe2xpbheKID0IhRmtpX5ATR3G60/rVg6XcmONZXzx4JLXCTAZanKTpaF BYY5afIt4FhSrDaYG0kO5dLLKdR4mptBCF+sADM2Tk6doQlUnUS2V6MGrZcyB7tu94 mCkwehA3RcjnE//j3YyLrbsGDt6PrQW5AYYHR6FI=
Received: from [192.168.178.20] (unknown [93.217.120.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mail.greenbytes.de (Postfix) with ESMTPSA id 5B72F15A0512; Sun, 10 Jul 2016 10:34:01 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=greenbytes.de; s=mail; t=1468139641; bh=CaucDDj3Xw5J3TSHaiFQCs2nMzBBTpRaO35pyEdAVNo=; h=Subject:To:References:Cc:From:Date:In-Reply-To:From; b=SS138SGaQwPl6oJGVs0McbibJlR5surYUP1K9Ys2UkykZBtPWkXePaqYlJFQ55mUR fgHaL0YOIDx98rheacpQ14bfJ8QbIUiNyP9II5UBci4dUyTzxQhN7iNZeKTWe4rgN5 FsymNJBaIkXJdk1zchw3Adp55yGZwTC1sWWwO7sE=
To: Poul-Henning Kamp <phk@phk.freebsd.dk>
References: <74180.1468000149@critter.freebsd.dk> <A17D3EFD-A935-4971-BCF6-DC9D38302CAD@oracle.com> <564a72e8-b9d3-1f9c-5982-48f2b07272e5@greenbytes.de> <3924.1468137899@critter.freebsd.dk>
Cc: Phil Hunt <phil.hunt@oracle.com>, HTTP Working Group <ietf-http-wg@w3.org>
From: Julian Reschke <julian.reschke@greenbytes.de>
Message-ID: <683f5f58-6046-d9fb-cc75-d0ab3890ce23@greenbytes.de>
Date: Sun, 10 Jul 2016 10:34:00 +0200
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0
MIME-Version: 1.0
In-Reply-To: <3924.1468137899@critter.freebsd.dk>
Content-Type: text/plain; charset="windows-1252"; format="flowed"
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=5.10.171.186; envelope-from=julian.reschke@greenbytes.de; helo=mail.greenbytes.de
X-W3C-Hub-Spam-Status: No, score=-6.0
X-W3C-Hub-Spam-Report: AWL=0.291, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RP_MATCHES_RCVD=-1.287, SPF_PASS=-0.001, W3C_AA=-1, W3C_IRA=-1, W3C_WL=-1
X-W3C-Scan-Sig: maggie.w3.org 1bMAC6-0008Pj-FI 0d84de26c1f7586c9bb6204d8f3e564b
X-Original-To: ietf-http-wg@w3.org
Subject: Re: JSON headers
Archived-At: <http://www.w3.org/mid/683f5f58-6046-d9fb-cc75-d0ab3890ce23@greenbytes.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/31856
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>

On 2016-07-10 10:04, Poul-Henning Kamp wrote:
> ...
>> FWIW, duplicate headers aren't really needed, when the header field was
>> defined properly (so the only problem is Set-Cookie, see
>> <https://greenbytes.de/tech/webdav/rfc7230.html#field.order>).
>
> I'll second the call for a blanket ban on repeat headers if they
> use the new (JSON-)syntax.
> ...

But that's not what I said.

Best regards, Julian