Re: p2: Accept-Language missing, empty or no match

Willy Tarreau <w@1wt.eu> Wed, 01 May 2013 06:55 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 CF5D821F875C for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 30 Apr 2013 23:55:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.532
X-Spam-Level:
X-Spam-Status: No, score=-10.532 tagged_above=-999 required=5 tests=[AWL=0.067, 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 TLu1os2ZPrFP for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 30 Apr 2013 23:55:14 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 9568521F86FA for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 30 Apr 2013 23:55:14 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1UXQwH-0005gn-KB for ietf-http-wg-dist@listhub.w3.org; Wed, 01 May 2013 06:54:53 +0000
Resent-Date: Wed, 01 May 2013 06:54:53 +0000
Resent-Message-Id: <E1UXQwH-0005gn-KB@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1UXQw9-0005fy-1H for ietf-http-wg@listhub.w3.org; Wed, 01 May 2013 06:54:45 +0000
Received: from 1wt.eu ([62.212.114.60]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1UXQw8-0008GH-9x for ietf-http-wg@w3.org; Wed, 01 May 2013 06:54:44 +0000
Received: (from willy@localhost) by mail.home.local (8.14.4/8.14.4/Submit) id r416sKJM028874; Wed, 1 May 2013 08:54:20 +0200
Date: Wed, 01 May 2013 08:54:20 +0200
From: Willy Tarreau <w@1wt.eu>
To: Mark Nottingham <mnot@mnot.net>
Cc: Bjoern Hoehrmann <derhoermi@gmx.net>, "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Message-ID: <20130501065420.GF27137@1wt.eu>
References: <8741FE69-C013-4853-A9A3-6321A18E56EA@mnot.net> <2896D8B9-399D-4F68-9BC1-9EFDB893C2BE@mnot.net> <sn5vn8pe3hins3oeghba9qrkcooustfmg8@hive.bjoern.hoehrmann.de> <21D17E62-229B-41E2-A7E5-9623A52DE3C2@mnot.net>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <21D17E62-229B-41E2-A7E5-9623A52DE3C2@mnot.net>
User-Agent: Mutt/1.4.2.3i
Received-SPF: pass client-ip=62.212.114.60; envelope-from=w@1wt.eu; helo=1wt.eu
X-W3C-Hub-Spam-Status: No, score=-4.3
X-W3C-Hub-Spam-Report: AWL=-1.779, RP_MATCHES_RCVD=-2.509, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1UXQw8-0008GH-9x f9ec620e46fa5a1c2f9df19fd113ef6c
X-Original-To: ietf-http-wg@w3.org
Subject: Re: p2: Accept-Language missing, empty or no match
Archived-At: <http://www.w3.org/mid/20130501065420.GF27137@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/17749
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 Wed, May 01, 2013 at 10:18:51AM +1000, Mark Nottingham wrote:
> Good point. 
> 
> how about:
> 
> """
> A request without any Accept-Language header field implies that the user agent will accept any language in response. If an Accept-Language header field is present in a request and none of the available representations for the response have a language tag that is listed as acceptable, the origin server MAY either disregard the Accept header field by treating the response as if it is not subject to content negotiation, or honor the Accept header field by sending a 406 (Not Acceptable) response. However, the latter is not encouraged, as doing so can prevent users from accessing content that they might be able to use (with translation software, for example).
> """

+1.

Willy