Re: paramname in draft-reschke-basicauth-enc-04

Julian Reschke <julian.reschke@gmx.de> Sat, 04 February 2012 11:58 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 1A5E121F85A4 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 4 Feb 2012 03:58:08 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.658
X-Spam-Level:
X-Spam-Status: No, score=-7.658 tagged_above=-999 required=5 tests=[AWL=2.941, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rDimRVNn9611 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 4 Feb 2012 03:58:07 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 819BD21F857F for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sat, 4 Feb 2012 03:58:07 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1RteEF-0006sj-6o for ietf-http-wg-dist@listhub.w3.org; Sat, 04 Feb 2012 11:56:27 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <julian.reschke@gmx.de>) id 1RteE3-0006rk-52 for ietf-http-wg@listhub.w3.org; Sat, 04 Feb 2012 11:56:15 +0000
Received: from mailout-de.gmx.net ([213.165.64.22]) by maggie.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1RteDs-0001pI-2M for ietf-http-wg@w3.org; Sat, 04 Feb 2012 11:56:09 +0000
Received: (qmail invoked by alias); 04 Feb 2012 11:55:37 -0000
Received: from p5DCC2D12.dip.t-dialin.net (EHLO [192.168.178.36]) [93.204.45.18] by mail.gmx.net (mp012) with SMTP; 04 Feb 2012 12:55:37 +0100
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX19W2b5QrFJWSdGMDFb1QtgYmg+7AyIdvzP3M5uVQr bIgVm9qGZzOaSk
Message-ID: <4F2D1CAE.4030509@gmx.de>
Date: Sat, 04 Feb 2012 12:55:26 +0100
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0) Gecko/20120129 Thunderbird/10.0
MIME-Version: 1.0
To: Anne van Kesteren <annevk@opera.com>
CC: Bjoern Hoehrmann <derhoermi@gmx.net>, "\"Martin J. Dürs t\"" <duerst@it.aoyama.ac.jp>, HTTP Working Group <ietf-http-wg@w3.org>
References: <20120129152840.10536.93223.idtracker@ietfa.amsl.com> <4F2567DA.3060608@gmx.de> <visci75v85ndepsfib5qfpdqvsb84m8piu@hive.bjoern.hoehrmann.de> <4F26D337.1020507@gmx.de> <4F279977.1080705@it.aoyama.ac.jp> <4F285AB3.4090506@gmx.de> <op.v82myadp64w2qv@annevk-macbookpro.local> <hsapi7pkbff0ok1loepbbbgnetrtp17ogr@hive.bjoern.hoehrmann.de> <op.v847ottn64w2qv@annevk-macbookpro.local>
In-Reply-To: <op.v847ottn64w2qv@annevk-macbookpro.local>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.22; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1RteDs-0001pI-2M b21cd3a6c288370fdf278092c6afc776
X-Original-To: ietf-http-wg@w3.org
Subject: Re: paramname in draft-reschke-basicauth-enc-04
Archived-At: <http://www.w3.org/mid/4F2D1CAE.4030509@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12309
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>
Resent-Message-Id: <E1RteEF-0006sj-6o@frink.w3.org>
Resent-Date: Sat, 04 Feb 2012 11:56:27 +0000

On 2012-02-04 08:13, Anne van Kesteren wrote:
> On Sat, 04 Feb 2012 04:58:07 +0100, Bjoern Hoehrmann <derhoermi@gmx.net>
> wrote:
>> * Anne van Kesteren wrote:
>>> Other than XML, is there a precedent for using "encoding"? Most
>>> places use "charset" I think (HTTP, CSS, HTML).
>>
>> DOM Level 3 Core uses xmlEncoding and inputEncoding, XSLT uses output-
>> encoding, .NET uses System.Text.Encoding.*, Google search uses "ie" and
>> "oe" parameters indicating "encoding", ... It seems unlikely you could
>> make a sensible argument about usage (outside the context of HTTP
>> headers, which includes "HTML") to choose one over the other here.
>
> Well, CSS has @charset, and HTML has a charset attribute. And
> xmlEncoding and inputEncoding are on their way out. I think it would
> make more sense to keep using charset as a keyword.

One thing that bothers me more is potential confusion with specifying 
the charset of parameters in WWW-Authenticate.

People who do not read specs might read the following

   WWW-Authenticate: Basic realm="something", charset="UTF-8"

as

   "something" is encoded in UTF-8.

Now there's not a lot we can do about people not reading specs, but how 
about:

   WWW-Authenticate: Basic realm="something", accept-charset="UTF-8"

? (Stolen from 
<http://www.w3.org/TR/html4/interact/forms.html#adef-accept-charset>)

Best regards, Julian