Re: Delta Compression and UTF-8 Header Values

Zhong Yu <zhong.j.yu@gmail.com> Sun, 10 February 2013 22:50 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 6B3EC21F880B for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 10 Feb 2013 14:50:07 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.523
X-Spam-Level:
X-Spam-Status: No, score=-10.523 tagged_above=-999 required=5 tests=[AWL=-0.076, BAYES_00=-2.599, 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 COGysDt6Bwaw for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 10 Feb 2013 14:50:06 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id C79CE21F8808 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 10 Feb 2013 14:50:06 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1U4fiL-0005Sy-Lc for ietf-http-wg-dist@listhub.w3.org; Sun, 10 Feb 2013 22:49:37 +0000
Resent-Date: Sun, 10 Feb 2013 22:49:37 +0000
Resent-Message-Id: <E1U4fiL-0005Sy-Lc@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <zhong.j.yu@gmail.com>) id 1U4fiD-0005S9-K2 for ietf-http-wg@listhub.w3.org; Sun, 10 Feb 2013 22:49:29 +0000
Received: from mail-ob0-f171.google.com ([209.85.214.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <zhong.j.yu@gmail.com>) id 1U4fiC-0004j8-K9 for ietf-http-wg@w3.org; Sun, 10 Feb 2013 22:49:29 +0000
Received: by mail-ob0-f171.google.com with SMTP id x4so5409184obh.2 for <ietf-http-wg@w3.org>; Sun, 10 Feb 2013 14:49:02 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=JkoOQ7bn/U0QPyg3PuQgAwIxicxJ5nq1OXpc1YZHkFg=; b=0WdXx9c4IQLxosVDJtYWgrKP6cZ4P1KW2MJFBjHzcowyfltubp9TgAjWUYxnATL8yF 1J1QvSUh/Yu7a1d6KnQfaMPkfmALbd7AHRSJGdMONaOoJPW6viu9/7xUNgPTVRGYMFc0 MvbFa1yoTSPq/+lFKzMP94Dhwe4N7qiAkCQK4EX+zBQCPh5/Kr6PKrWXUFeI/bMuWG5r GTWr1h3fJj4m1NMixjKOyNOuTjhErQ3ApKvXeLipzGP9U6yn3qMY913P5nX1efNhjUJa JxoFmjpIQ9RKHfYR5xnwCm0lUkRpNC1QV+fRxS6tTlLoob2hu3RzY2ynVfN7+KG9Nm8R P0ug==
MIME-Version: 1.0
X-Received: by 10.60.19.37 with SMTP id b5mr9442134oee.128.1360536541933; Sun, 10 Feb 2013 14:49:01 -0800 (PST)
Received: by 10.76.12.227 with HTTP; Sun, 10 Feb 2013 14:49:01 -0800 (PST)
In-Reply-To: <79780.1360491855@critter.freebsd.dk>
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>
Date: Sun, 10 Feb 2013 16:49:01 -0600
Message-ID: <CACuKZqHMQdktfOU3PJC=X-G8R=BQ40bhFJw=ZTfeSpem9L=GEw@mail.gmail.com>
From: Zhong Yu <zhong.j.yu@gmail.com>
To: Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc: 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="ISO-8859-1"
Received-SPF: pass client-ip=209.85.214.171; envelope-from=zhong.j.yu@gmail.com; helo=mail-ob0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-4.5
X-W3C-Hub-Spam-Report: AWL=-1.758, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1U4fiC-0004j8-K9 9aa6fd7df8b1484f147096f3ed63b8be
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Delta Compression and UTF-8 Header Values
Archived-At: <http://www.w3.org/mid/CACuKZqHMQdktfOU3PJC=X-G8R=BQ40bhFJw=ZTfeSpem9L=GEw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/16532
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 4:24 AM, Poul-Henning Kamp <phk@phk.freebsd.dk> wrote:
> Content-Type: text/plain; charset=ISO-8859-1
> --------
> In message <51176C95.1040308@gmx.de>, Julian Reschke writes:
>
>>> This is why I keep asking people where _exactly_ it is they want
>>> the unicode to go in the HTTP/2 protocol.  So far I fail to detect
>>> a clear answer...
>>
>>1) Filenames in Content-Disposition
>
> These only have meaning to the ultimate destinations, and if their
> filesystems don't support UTF-8, they'll have to do $something anyway.
>
> Nobody in the HTTP/2 protocol-chain can do anything but treat this
> as an opaque bytestring.

But how does the 2 ends agree on which encoding to use? It might be
easier if HTTP just dictate UTF-8.

>
>>2) non-ASCII characters in HTTP auth credentials
>
> Same.
>
>>3) title parameters in Link header fields
>
> Same.
>
> The UTF-8 Questions imply does not apply at the protocol layer,
> it only applies to the semantic interpretation at the ends of
> the HTTP/2 protocol connection.
>
> Or to put it more precisely:  I can see no place where an
> HTTP/2 intermediate without a semantic role will ever need
> to know about normalizing UTF-8 strings.
>
> Agree ?
>
> Since we, presumably, split HTTP into a transport and semantic
> part in HTTPbis, and since HTTP/2 is not supposed to change
> the semantics, why are we even discussing "UTF-8 in HTTP/2" ?
>
>
> --
> Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
> phk@FreeBSD.ORG         | TCP/IP since RFC 956
> FreeBSD committer       | BSD since 4.3-tahoe
> Never attribute to malice what can adequately be explained by incompetence.
>