Re: Is “fr, en; q=0.3” a valid Accept-Language value?

Julian Reschke <julian.reschke@gmx.de> Sun, 30 October 2016 10:30 UTC

Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@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 E50201294A0 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 30 Oct 2016 03:30:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.498
X-Spam-Level:
X-Spam-Status: No, score=-6.498 tagged_above=-999 required=5 tests=[HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-1.497, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id gGBVZgG4jA-Z for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 30 Oct 2016 03:30:17 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id F0F2612945C for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 30 Oct 2016 03:30:16 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1c0nJV-0003cp-Ou for ietf-http-wg-dist@listhub.w3.org; Sun, 30 Oct 2016 10:26:05 +0000
Resent-Date: Sun, 30 Oct 2016 10:26:05 +0000
Resent-Message-Id: <E1c0nJV-0003cp-Ou@frink.w3.org>
Received: from mimas.w3.org ([128.30.52.79]) by frink.w3.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <julian.reschke@gmx.de>) id 1c0nJR-0003Zw-GN for ietf-http-wg@listhub.w3.org; Sun, 30 Oct 2016 10:26:01 +0000
Received: from mout.gmx.net ([212.227.15.19]) by mimas.w3.org with esmtps (TLS1.2:DHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <julian.reschke@gmx.de>) id 1c0nJL-00005y-6m for ietf-http-wg@w3.org; Sun, 30 Oct 2016 10:25:56 +0000
Received: from [192.168.178.20] ([93.217.86.31]) by mail.gmx.com (mrgmx001) with ESMTPSA (Nemesis) id 0LwrwO-1cy1jb0ZQW-016LWr; Sun, 30 Oct 2016 11:25:27 +0100
To: Samuel Williams <space.ship.traveller@gmail.com>
References: <CAHkN8V9RyAVprdWT2ZRDfDyCc+aj7Q6iJdGRr8N2m-qzEis7Kw@mail.gmail.com> <7135c8b0-9f02-04bb-5649-dbab1ba6313c@gmx.de> <CAHkN8V_gsHTNUoG4qEOPXHkyvWrZBRhWdORuntWyBg2PPNM2og@mail.gmail.com> <46cad21a-270b-76cd-9b43-11d66d49e116@gmx.de> <CAHkN8V-gPifMhXt76M5o+ty-A-gAjJvrL=Tt9h8xXW-0CwoX+Q@mail.gmail.com>
Cc: ietf-http-wg@w3.org
From: Julian Reschke <julian.reschke@gmx.de>
Message-ID: <f11f9281-fd2a-444f-6ca3-8a60313b8f8b@gmx.de>
Date: Sun, 30 Oct 2016 11:25:25 +0100
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0
MIME-Version: 1.0
In-Reply-To: <CAHkN8V-gPifMhXt76M5o+ty-A-gAjJvrL=Tt9h8xXW-0CwoX+Q@mail.gmail.com>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Provags-ID: V03:K0:1V2jaQEdYnxT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rLDQHGS sLyI3qG
Received-SPF: pass client-ip=212.227.15.19; envelope-from=julian.reschke@gmx.de; helo=mout.gmx.net
X-W3C-Hub-Spam-Status: No, score=-6.7
X-W3C-Hub-Spam-Report: AWL=-0.072, BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, W3C_AA=-1, W3C_DB=-1, W3C_IRA=-1, W3C_WL=-1
X-W3C-Scan-Sig: mimas.w3.org 1c0nJL-00005y-6m f4285f87605952cc5a71603da5848ea6
X-Original-To: ietf-http-wg@w3.org
Subject: =?UTF-8?B?UmU6IElzIOKAnGZyLCBlbjsgcT0wLjPigJ0gYSB2YWxpZCBBY2NlcHQt?= =?UTF-8?Q?Language_value=3f?=
Archived-At: <http://www.w3.org/mid/f11f9281-fd2a-444f-6ca3-8a60313b8f8b@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/32733
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 2016-10-30 10:21, Samuel Williams wrote:
> Just as a follow up, I've been using other examples on that page as
> part of the unit tests.
>
> However, I am finding it hard to understand the final table:
>
> The media type quality factor associated with a given type is
> determined by finding the media range with the highest precedence that
> matches the type. For example,
>
>   Accept: text/*;q=0.3, text/html;q=0.7, text/html;level=1,
>           text/html;level=2;q=0.4, */*;q=0.5
>
> would cause the following values to be associated:
>
> Media Type Quality Value
> text/html;level=1 q=1
> text/html q=0.7
> text/plain q=0.3
> image/jpeg q=0.5
> text/html;level=2 q=0.4
> text/html;level=3 q=0.7
>
> But I fail to see, for example, where image/jpeg comes from or, say,
> text/html;level=3 because they aren't listed in the given Accept:
> header. Is this a documentation bug?

"image/jpeg" is covered by "*/*;q=0.5"; "text/html;level=3" is covered 
by "text/html;q=0.7".

Best regards, Julian