Re: Delta Compression and UTF-8 Header Values

Roberto Peon <grmocg@gmail.com> Fri, 08 February 2013 19:54 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 1678421F8B81 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 8 Feb 2013 11:54:00 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.459
X-Spam-Level:
X-Spam-Status: No, score=-10.459 tagged_above=-999 required=5 tests=[AWL=-0.013, BAYES_00=-2.599, HTML_MESSAGE=0.001, 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 xBjuNDANsXr5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 8 Feb 2013 11:53:59 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 03E8621F8B73 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 8 Feb 2013 11:53:59 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1U3u0s-0006T7-3z for ietf-http-wg-dist@listhub.w3.org; Fri, 08 Feb 2013 19:53:34 +0000
Resent-Date: Fri, 08 Feb 2013 19:53:34 +0000
Resent-Message-Id: <E1U3u0s-0006T7-3z@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1U3u0l-0006SN-HD for ietf-http-wg@listhub.w3.org; Fri, 08 Feb 2013 19:53:27 +0000
Received: from mail-lb0-f169.google.com ([209.85.217.169]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1U3u0k-0007Ev-Jf for ietf-http-wg@w3.org; Fri, 08 Feb 2013 19:53:27 +0000
Received: by mail-lb0-f169.google.com with SMTP id m4so3274383lbo.14 for <ietf-http-wg@w3.org>; Fri, 08 Feb 2013 11:53:00 -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=SytQGZ17NoYBCMcCd/phy11fwte3yDfmaGN4sopoTrU=; b=vLkhSFzXWrgdzkrYYE4q+OwPAkwqJcZVR2ESXphJIpitUdOXEWWPcDyCNxwCY27k3c +PcBA4C21B5azeuurDGdK/AbNheh2I3g1PMMx2CeO0NbyUR+DLiHC/AdTQIe0GqKixmR C3umtd97tS3HrsDradzMoDofxY7qIDc43T7ByFwIDzqg/3qyDCSBMIA+8cnbqAatu5T/ l4JU00MeYrNIwio364sptfUYehjGicp2L9w2rCOSChWUKYu9sY2H1TrpMERhGrDZEb6W mU45idQ7K+OCwXTXqmeAMQbIL60j3ohRVi4TlEMzKRe8lW3kajG7zYMhZzw4laBLwJ8Y 8j5w==
MIME-Version: 1.0
X-Received: by 10.152.104.199 with SMTP id gg7mr5917874lab.14.1360353179922; Fri, 08 Feb 2013 11:52:59 -0800 (PST)
Received: by 10.112.81.5 with HTTP; Fri, 8 Feb 2013 11:52:59 -0800 (PST)
In-Reply-To: <6526.1360353040@critter.freebsd.dk>
References: <CABP7RbfRLXPpL4=wip=FvqD3DM7BM8PXi7uRswHAusXUmPO_xw@mail.gmail.com> <6372.1360352116@critter.freebsd.dk> <CABP7Rbd7bck4czG9c84hLeAHMnbeqb1mYhS+-DKKtZYEyia=6A@mail.gmail.com> <6526.1360353040@critter.freebsd.dk>
Date: Fri, 08 Feb 2013 11:52:59 -0800
Message-ID: <CAP+FsNcRM63pEd5tvpkMcnQwqg-3FwFv9ftWxYLrZQpw2-sCEQ@mail.gmail.com>
From: Roberto Peon <grmocg@gmail.com>
To: Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc: James M Snell <jasnell@gmail.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary="f46d040890c10ef1e304d53be832"
Received-SPF: pass client-ip=209.85.217.169; envelope-from=grmocg@gmail.com; helo=mail-lb0-f169.google.com
X-W3C-Hub-Spam-Status: No, score=-3.4
X-W3C-Hub-Spam-Report: AWL=-2.633, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1U3u0k-0007Ev-Jf 068862b6dee5129227db391cba07bb59
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Delta Compression and UTF-8 Header Values
Archived-At: <http://www.w3.org/mid/CAP+FsNcRM63pEd5tvpkMcnQwqg-3FwFv9ftWxYLrZQpw2-sCEQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/16471
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>

++

-=R


On Fri, Feb 8, 2013 at 11:50 AM, Poul-Henning Kamp <phk@phk.freebsd.dk>wrote:

> Content-Type: text/plain; charset=ISO-8859-1
> --------
> In message <CABP7Rbd7bck4czG9c84hLeAHMnbeqb1mYhS+-DKKtZYEyia=
> 6A@mail.gmail.com>
> , James M Snell writes:
> >On Fri, Feb 8, 2013 at 11:35 AM, Poul-Henning Kamp <phk@phk.freebsd.dk>
> wrote:
>
> >>>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.
>
> >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.
>
> I guess the relevant question then is: Are these headers where it
> is necessary for HTTP entities to understand the value (ie:
> "Cache-Control", "Location" etc, ) or headers which are just
> transported transparently from end to end ("X-FOObar", "Cookie"
> etc.)
>
> In the latter case, supporting UTF-8 is merely a matter of letting
> another bit through per byte, in the former case it opens a major
> bucket of worms IMO.
>
> --
> 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.
>
>