RE: [Ltru] Issue 113 (language tag matching (Accept-Language) vs RFC4647), was: Proposed resolution for Issue 13 (language tags)

"Phillips, Addison" <addison@amazon.com> Sat, 18 July 2009 20:03 UTC

Return-Path: <ietf-http-wg-request@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@core3.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 152073A6B56 for <ietfarch-httpbisa-archive-bis2Juki@core3.amsl.com>; Sat, 18 Jul 2009 13:03:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.599
X-Spam-Level:
X-Spam-Status: No, score=-8.599 tagged_above=-999 required=5 tests=[AWL=2.000, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xtNMYuz4dZmL for <ietfarch-httpbisa-archive-bis2Juki@core3.amsl.com>; Sat, 18 Jul 2009 13:03:11 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by core3.amsl.com (Postfix) with ESMTP id 1B51A3A6985 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sat, 18 Jul 2009 13:03:11 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.63) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1MSG4n-0006kx-W5 for ietf-http-wg-dist@listhub.w3.org; Sat, 18 Jul 2009 20:00:10 +0000
Received: from maggie.w3.org ([193.51.208.68]) by frink.w3.org with esmtp (Exim 4.63) (envelope-from <addison@amazon.com>) id 1MSG3m-0005IH-0V for ietf-http-wg@listhub.w3.org; Sat, 18 Jul 2009 19:59:06 +0000
Received: from smtp-fw-2101.amazon.com ([72.21.196.25]) by maggie.w3.org with esmtp (Exim 4.63) (envelope-from <addison@amazon.com>) id 1MSG3d-0006Jg-3h for ietf-http-wg@w3.org; Sat, 18 Jul 2009 19:59:05 +0000
X-IronPort-AV: E=Sophos;i="4.43,227,1246838400"; d="scan'208";a="298133573"
Received: from smtp-in-5102.iad5.amazon.com ([10.218.9.29]) by smtp-border-fw-out-2101.iad2.amazon.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 18 Jul 2009 19:58:30 +0000
Received: from ex-hub-4101.ant.amazon.com (ex-hub-4101.ant.amazon.com [10.248.163.22]) by smtp-in-5102.iad5.amazon.com (8.12.11/8.12.11) with ESMTP id n6IJwT7u017956 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=FAIL); Sat, 18 Jul 2009 19:58:30 GMT
Received: from EX-SEA5-D.ant.amazon.com ([10.248.163.30]) by ex-hub-4101.ant.amazon.com ([10.248.163.22]) with mapi; Sat, 18 Jul 2009 12:58:29 -0700
From: "Phillips, Addison" <addison@amazon.com>
To: John Cowan <cowan@ccil.org>, Julian Reschke <julian.reschke@gmx.de>
CC: LTRU Working Group <ltru@ietf.org>, HTTP Working Group <ietf-http-wg@w3.org>
Date: Sat, 18 Jul 2009 12:58:23 -0700
Thread-Topic: [Ltru] Issue 113 (language tag matching (Accept-Language) vs RFC4647), was: Proposed resolution for Issue 13 (language tags)
Thread-Index: AcoH0YVZKukxlE8PROyzGMU3PStqogAAin4w
Message-ID: <4D25F22093241741BC1D0EEBC2DBB1DA01AB843BEC@EX-SEA5-D.ant.amazon.com>
References: <48037FF9.9030103@gmx.de> <48049274.3090501@gmx.de> <4A61B8B7.7030200@gmx.de> <4D25F22093241741BC1D0EEBC2DBB1DA01AB843B4F@EX-SEA5-D.ant.amazon.com> <4A61F5C2.3050906@gmx.de> <20090718175918.GA3899@mercury.ccil.org>
In-Reply-To: <20090718175918.GA3899@mercury.ccil.org>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
acceptlanguage: en-US
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
Received-SPF: pass
X-SPF-Guess: pass
X-W3C-Hub-Spam-Status: No, score=-21.6
X-W3C-Hub-Spam-Report: BAYES_00=-2.599, ENV_AND_HDR_SPF_MATCH=-7.5, RCVD_IN_DNSWL_MED=-4, SPF_PASS=-0.001, USER_IN_DEF_SPF_WL=-7.5
X-W3C-Scan-Sig: maggie.w3.org 1MSG3d-0006Jg-3h 709ffe3e2e4c45387262865e54720255
X-Original-To: ietf-http-wg@w3.org
Subject: RE: [Ltru] Issue 113 (language tag matching (Accept-Language) vs RFC4647), was: Proposed resolution for Issue 13 (language tags)
Archived-At: <http://www.w3.org/mid/4D25F22093241741BC1D0EEBC2DBB1DA01AB843BEC@EX-SEA5-D.ant.amazon.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/7125
X-Loop: ietf-http-wg@w3.org
Sender: ietf-http-wg-request@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-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1MSG4n-0006kx-W5@frink.w3.org>
Resent-Date: Sat, 18 Jul 2009 20:00:09 +0000

> Julian Reschke scripsit:
> 
> > The intention was to normatively refer to that matching algorithm
> that
> > actually is equivalent to what RFC2616 used to define (remember,
> we're
> > not changing the protocol here). Did we pick the wrong one?
> 
> No, basic filtering is the RFC 2616 algorithm all right.  You might
> consider allowing HTTP servers to do lookup if basic filtering
> produces no results: Apache already does this.

Basic filtering is "pretty much" the 2616 algorithm--in fact, I think we went out of our way to make them compatible. But I think our understanding of language negotiation has evolved somewhat since 1999. There are a number of recommendations and statements in 2616 that suggest that both servers and client applications might tailor their matching behavior, etc.

I think it would be useful and wise to allow for both sorts of behavior. Many application servers use lookup (which is the locale/resource loading protocol for Windows, Java, etc.)

> 
> Is there some reason why you aren't referring to BCP 47?

I think they are trying to be specific about their reference to avoid having <Language-Tag> change underneath them. 

Julian notes:

> The spec does refer to BCP 47: 
> <http://greenbytes.de/tech/webdav/draft-ietf-httpbis-p3-payload-07.html#RFC4647>.

Yes, but not in the same way as it refers to BCP 97.

Addison

Addison Phillips
Globalization Architect -- Lab126

Internationalization is not a feature.
It is an architecture.