Re: Delta Compression and UTF-8 Header Values

Nico Williams <nico@cryptonector.com> Mon, 11 February 2013 00:16 UTC

Return-Path: <ietf-http-wg-request@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 068BF21F8423 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 10 Feb 2013 16:16:56 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.825
X-Spam-Level:
X-Spam-Status: No, score=-7.825 tagged_above=-999 required=5 tests=[AWL=2.000, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, RCVD_IN_DNSWL_HI=-8, SARE_SUB_ENC_UTF8=0.152]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vnEIpZ3sZyG8 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 10 Feb 2013 16:16:52 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id B8C7A21F8802 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 10 Feb 2013 16:16:52 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1U4h4T-0007Bv-Qc for ietf-http-wg-dist@listhub.w3.org; Mon, 11 Feb 2013 00:16:33 +0000
Resent-Date: Mon, 11 Feb 2013 00:16:33 +0000
Resent-Message-Id: <E1U4h4T-0007Bv-Qc@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <nico@cryptonector.com>) id 1U4h4M-0007BC-BC for ietf-http-wg@listhub.w3.org; Mon, 11 Feb 2013 00:16:26 +0000
Received: from caiajhbdcbef.dreamhost.com ([208.97.132.145] helo=homiemail-a34.g.dreamhost.com) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <nico@cryptonector.com>) id 1U4h4L-0006GR-DG for ietf-http-wg@w3.org; Mon, 11 Feb 2013 00:16:26 +0000
Received: from homiemail-a34.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a34.g.dreamhost.com (Postfix) with ESMTP id 97F3310049 for <ietf-http-wg@w3.org>; Sun, 10 Feb 2013 16:16:04 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h= mime-version:in-reply-to:references:date:message-id:subject:from :to:cc:content-type; s=cryptonector.com; bh=Onp+jFXZj1yVWIpvN7jH AHtB8dI=; b=DrQAKDH12j7/2Cyav6FyJRgs8UDY+lPJDqFutksDnWtwPRdxORP5 lPkqfdvLRfVtEy5Ze/Ze2GTgRQEyI7F4jASOlJ+cyYmkTjkvcicq2fQhtQYNnGgj a/B0zniljUVeEr3BhYVrBbOI2rTzffOByAhduVvNLz6t9A6QG5K+6fY=
Received: from mail-we0-f178.google.com (mail-we0-f178.google.com [74.125.82.178]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a34.g.dreamhost.com (Postfix) with ESMTPSA id 426AE10041 for <ietf-http-wg@w3.org>; Sun, 10 Feb 2013 16:16:04 -0800 (PST)
Received: by mail-we0-f178.google.com with SMTP id x48so4433172wey.37 for <ietf-http-wg@w3.org>; Sun, 10 Feb 2013 16:16:03 -0800 (PST)
MIME-Version: 1.0
X-Received: by 10.180.99.227 with SMTP id et3mr12914850wib.6.1360541763043; Sun, 10 Feb 2013 16:16:03 -0800 (PST)
Received: by 10.217.39.133 with HTTP; Sun, 10 Feb 2013 16:16:02 -0800 (PST)
In-Reply-To: <CAK3OfOjypste-nfNT9YU17eqDJNbZUHo1=DWhbfgfLL7t+SRqg@mail.gmail.com>
References: <CABP7RbfRLXPpL4=wip=FvqD3DM7BM8PXi7uRswHAusXUmPO_xw@mail.gmail.com> <6372.1360352116@critter.freebsd.dk> <51164503.2030709@it.aoyama.ac.jp> <58832.1360414202@critter.freebsd.dk> <511726A5.5030302@it.aoyama.ac.jp> <79576.1360488507@critter.freebsd.dk> <51176C95.1040308@gmx.de> <79780.1360491855@critter.freebsd.dk> <CACuKZqHMQdktfOU3PJC=X-G8R=BQ40bhFJw=ZTfeSpem9L=GEw@mail.gmail.com> <84285.1360536738@critter.freebsd.dk> <CAK3OfOjypste-nfNT9YU17eqDJNbZUHo1=DWhbfgfLL7t+SRqg@mail.gmail.com>
Date: Sun, 10 Feb 2013 18:16:02 -0600
Message-ID: <CAK3OfOhCU=3d7vEuPeC6rU6yZvygLj4zgNCfMaUQfMUaDYS0Hw@mail.gmail.com>
From: Nico Williams <nico@cryptonector.com>
To: Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc: Zhong Yu <zhong.j.yu@gmail.com>, Julian Reschke <julian.reschke@gmx.de>, "\"Martin J. Dürst\"" <duerst@it.aoyama.ac.jp>, James M Snell <jasnell@gmail.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: text/plain; charset="UTF-8"
Received-SPF: none client-ip=208.97.132.145; envelope-from=nico@cryptonector.com; helo=homiemail-a34.g.dreamhost.com
X-W3C-Hub-Spam-Status: No, score=-4.5
X-W3C-Hub-Spam-Report: AWL=-2.498, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001
X-W3C-Scan-Sig: maggie.w3.org 1U4h4L-0006GR-DG dadf360113babfe7e164e0a116b9acaf
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Delta Compression and UTF-8 Header Values
Archived-At: <http://www.w3.org/mid/CAK3OfOhCU=3d7vEuPeC6rU6yZvygLj4zgNCfMaUQfMUaDYS0Hw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/16540
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 Sun, Feb 10, 2013 at 6:12 PM, Nico Williams <nico@cryptonector.com> wrote:
> On Sun, Feb 10, 2013 at 4:52 PM, Poul-Henning Kamp <phk@phk.freebsd.dk> wrote:
>> Did I misunderstand that ?
>
> I don't know.  I wasn't there.  But where HTTP/2.0 carries text in the
> headers, that text must either be US-ASCII only, or UTF-8 only -- no
> other codesets, encodings, nothing.  Anything else will result in
> just-send-8/just-use-8 and associated interop failures OR de facto
> agreement to just-send-UTF-8.  The latter would be fine, but better
> make it de jure.  If this was decided incorrectly in the past then the
> decision needs to be open to review: I guarantee this will come up in
> IETF and IESG review.  Better get it right now.

I suppose I should qualify this by saying that header text slots where
other standards apply, such as hostnames (IDNA) and IRIs, the protocol
can leave the matter to those standards.  But that need not be trivial
either: for domainname slots we might need to say only A-labels apply.

Nico
--