Re: Delta Compression and UTF-8 Header Values

Julian Reschke <julian.reschke@gmx.de> Sun, 10 February 2013 09:46 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 5A46E21F8542 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 10 Feb 2013 01:46:50 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.473
X-Spam-Level:
X-Spam-Status: No, score=-9.473 tagged_above=-999 required=5 tests=[AWL=0.974, 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 EpyYTnHRUlOo for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 10 Feb 2013 01:46:49 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 71DC821F84F9 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 10 Feb 2013 01:46:48 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1U4TTN-00012A-AU for ietf-http-wg-dist@listhub.w3.org; Sun, 10 Feb 2013 09:45:21 +0000
Resent-Date: Sun, 10 Feb 2013 09:45:21 +0000
Resent-Message-Id: <E1U4TTN-00012A-AU@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1U4TTG-00011R-SV for ietf-http-wg@listhub.w3.org; Sun, 10 Feb 2013 09:45:14 +0000
Received: from mout.gmx.net ([212.227.17.21]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1U4TTG-0007j0-17 for ietf-http-wg@w3.org; Sun, 10 Feb 2013 09:45:14 +0000
Received: from mailout-de.gmx.net ([10.1.76.10]) by mrigmx.server.lan (mrigmx001) with ESMTP (Nemesis) id 0LfDle-1UkNrr2Wka-00orNc for <ietf-http-wg@w3.org>; Sun, 10 Feb 2013 10:44:47 +0100
Received: (qmail invoked by alias); 10 Feb 2013 09:44:47 -0000
Received: from p5DCE83FC.dip0.t-ipconnect.de (EHLO [192.168.90.103]) [93.206.131.252] by mail.gmx.net (mp010) with SMTP; 10 Feb 2013 10:44:47 +0100
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX19B2/NHepJBc93uHGZFEcxbwIgS2XrNYePoSZ1iJE IupZSnCM9pXCXY
Message-ID: <51176C0E.5000202@gmx.de>
Date: Sun, 10 Feb 2013 10:44:46 +0100
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130107 Thunderbird/17.0.2
MIME-Version: 1.0
To: James M Snell <jasnell@gmail.com>
CC: Poul-Henning Kamp <phk@phk.freebsd.dk>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
References: <CABP7RbfRLXPpL4=wip=FvqD3DM7BM8PXi7uRswHAusXUmPO_xw@mail.gmail.com> <6372.1360352116@critter.freebsd.dk> <CABP7Rbd7bck4czG9c84hLeAHMnbeqb1mYhS+-DKKtZYEyia=6A@mail.gmail.com>
In-Reply-To: <CABP7Rbd7bck4czG9c84hLeAHMnbeqb1mYhS+-DKKtZYEyia=6A@mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=212.227.17.21; envelope-from=julian.reschke@gmx.de; helo=mout.gmx.net
X-W3C-Hub-Spam-Status: No, score=0.0
X-W3C-Hub-Spam-Report: FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1U4TTG-0007j0-17 4b8cf643f3988431e7216a5e9fd54245
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Delta Compression and UTF-8 Header Values
Archived-At: <http://www.w3.org/mid/51176C0E.5000202@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/16511
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 2013-02-08 20:44, James M Snell wrote:
> On Fri, Feb 8, 2013 at 11:35 AM, Poul-Henning Kamp <phk@phk.freebsd.dk> wrote:
>> Content-Type: text/plain; charset=ISO-8859-1
>> --------
>> In message <CABP7RbfRLXPpL4=wip=FvqD3DM7BM8PXi7uRswHAusXUmPO_xw@mail.gmail.com>
>> , James M Snell writes:
>>
>>> So the question is: do we want to allow UTF-8 header values?
>>
>> Jim Gettys famously laid down some principles for X11 development,
>> number 1 and 3 of which are:
>>
>>          1.Do not add new functionality unless an implementor cannot
>>            complete a real application without it.
>>
>>          3.The only thing worse than generalizing from one example
>>            is generalizing from no examples at all.
>>
>> Do we have two examples of what it is that somebody cannot do (in a
>> reasonable way?) without UTF-8 header values ?
>>
>
> AFAIC, the main motivation for allowing UTF-8 headers is to reduce
> (and *eventually* eliminate) the need for
> punycode/pct-encoding/B-codec/Q-codec/RFC5987.
>
> This is not so much a question of enabling a use case that cannot be
> "resonably" done without UTF-8 headers. Rather, it's a question of
> simplifying things for developers by reducing existing complexity (by
> moving that complexity into the protocol).
>
> - James

Indeed.

But note than in practice, B-codec and Q-codec aren't used.

That still leaves us with the other schemes.

Best regards, Julian