Re: Is “fr, en; q=0.3” a valid Accept-Language value?
Daurnimator <quae@daurnimator.com> Wed, 30 November 2016 02:52 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 9F344129477 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 29 Nov 2016 18:52:46 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.498
X-Spam-Level:
X-Spam-Status: No, score=-8.498 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, 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
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=daurnimator.com
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 ubq_aBbFk14Y for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 29 Nov 2016 18:52:43 -0800 (PST)
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 E9063129561 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 29 Nov 2016 18:51:42 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1cBuwK-0000HI-Ti for ietf-http-wg-dist@listhub.w3.org; Wed, 30 Nov 2016 02:48:08 +0000
Resent-Date: Wed, 30 Nov 2016 02:48:08 +0000
Resent-Message-Id: <E1cBuwK-0000HI-Ti@frink.w3.org>
Received: from titan.w3.org ([128.30.52.76]) by frink.w3.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <quae@daurnimator.com>) id 1cBuwA-0000F2-5V for ietf-http-wg@listhub.w3.org; Wed, 30 Nov 2016 02:47:58 +0000
Received: from mail-lf0-f45.google.com ([209.85.215.45]) by titan.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <quae@daurnimator.com>) id 1cBuvz-0006iT-Rl for ietf-http-wg@w3.org; Wed, 30 Nov 2016 02:47:52 +0000
Received: by mail-lf0-f45.google.com with SMTP id o141so136266523lff.1 for <ietf-http-wg@w3.org>; Tue, 29 Nov 2016 18:47:26 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=daurnimator.com; s=daurnimator; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=ARgZX/9Z2v0Z7fW283B9m+4ZGH6YHbZrbTHVTej0vWU=; b=jU4QoZcOYK1Lk3IUUA84YEFxom/Nr+a3s+oMO8AvLt74AiTf8MNQYmaPDCyDHjyF57 s69OxW6WOd4b9g5r8t1ar/L5Itj1KboeY4+WaM8w3lzUMJO0r4yOyH+LpCXaQpddfCP5 45tCaKFpKBCsfAtgQlD4e50n9INL5ZWd4Fz1U=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=ARgZX/9Z2v0Z7fW283B9m+4ZGH6YHbZrbTHVTej0vWU=; b=TgA5T+CGIAOnhOKV1qfHadu8p6j74VyzELpUhQUoRgx8MdgIu/R8eIxktgn1jRZS+2 XDUbG8uTJuKABCF7JlAt+afrZCmRefOhuJt0LpHjrF7s7yfj7T9pP2F4LS0Vx4G++cdA AG0STp5KhWZxSCzUp1U2ETWDY95fNLxk9bFs23y1lUgujpjRgJXobtdDgn6AbcR8zkmd 6MPj2ffg2B0+rh0JLMJj+GU0TKAiiEDGBCLdtAt/KNebb+5qJOAJ43i+M5SIsNok8aq8 QPXVnv6MKhG4dX7JhtXMtG3HiLrN+spCnthwgLCFTHaElC0RFa8c0cDeIcWE5DayPzbV d2rQ==
X-Gm-Message-State: AKaTC03wueJqnMuOJKWSnEI7OH+EH+2C1IF2nt3EDirkiYkCsZtaKLd1dCMfyn0jGXZHaw==
X-Received: by 10.46.78.26 with SMTP id c26mr15032419ljb.46.1480474040278; Tue, 29 Nov 2016 18:47:20 -0800 (PST)
Received: from mail-lf0-f48.google.com (mail-lf0-f48.google.com. [209.85.215.48]) by smtp.gmail.com with ESMTPSA id z2sm14116487lja.10.2016.11.29.18.47.18 for <ietf-http-wg@w3.org> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 29 Nov 2016 18:47:18 -0800 (PST)
Received: by mail-lf0-f48.google.com with SMTP id c13so136133984lfg.0 for <ietf-http-wg@w3.org>; Tue, 29 Nov 2016 18:47:18 -0800 (PST)
X-Received: by 10.25.219.69 with SMTP id s66mr9532055lfg.116.1480474038451; Tue, 29 Nov 2016 18:47:18 -0800 (PST)
MIME-Version: 1.0
Received: by 10.25.79.76 with HTTP; Tue, 29 Nov 2016 18:47:17 -0800 (PST)
In-Reply-To: <42a785da-8417-654c-afd5-6dc977520bc5@treenet.co.nz>
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> <f11f9281-fd2a-444f-6ca3-8a60313b8f8b@gmx.de> <CAHkN8V9DTu=xVft3ZaFo6kYAwqQsFDZc1ZZSfvuiG+bPMnwNfQ@mail.gmail.com> <42a785da-8417-654c-afd5-6dc977520bc5@treenet.co.nz>
From: Daurnimator <quae@daurnimator.com>
Date: Wed, 30 Nov 2016 13:47:17 +1100
X-Gmail-Original-Message-ID: <CAEnbY+fMJdxg1YbBYeCY0DcNBi810PWW4CuWDYbr2Ejoc3oTkQ@mail.gmail.com>
Message-ID: <CAEnbY+fMJdxg1YbBYeCY0DcNBi810PWW4CuWDYbr2Ejoc3oTkQ@mail.gmail.com>
To: Amos Jeffries <squid3@treenet.co.nz>
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: text/plain; charset="UTF-8"
Received-SPF: none client-ip=209.85.215.45; envelope-from=quae@daurnimator.com; helo=mail-lf0-f45.google.com
X-W3C-Hub-Spam-Status: No, score=-5.3
X-W3C-Hub-Spam-Report: AWL=-1.302, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, W3C_AA=-1, W3C_WL=-1
X-W3C-Scan-Sig: titan.w3.org 1cBuvz-0006iT-Rl 75b63a2c2ed31e265926a1a2455a99ed
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Is “fr, en; q=0.3” a valid Accept-Language value?
Archived-At: <http://www.w3.org/mid/CAEnbY+fMJdxg1YbBYeCY0DcNBi810PWW4CuWDYbr2Ejoc3oTkQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/33031
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 31 October 2016 at 12:29, Amos Jeffries <squid3@treenet.co.nz> wrote: > On 31/10/2016 12:15 a.m., Samuel Williams wrote: >> Thanks Julian, yes I wondered if that was how it was being explained. >> It might be the wording of the sentence preceding the table: >> >>> would cause the following values to be associated: >> >> It might be clearer if it were "could be used to compute the following >> quality values:" >> > > It is not computing quality values. The q values are provided by the > client. It is simply associating those q= values with the possible > response types. > > Like so: > 1) take the request Accept list > 2a) sort by q= value > 2b) drop explicit types that cannot be produced (ie xml/tar) > 3) output the response for type at the front of the list > > > If you are writing a client to produce Accept lists, then you should do > the sorting step when generating the request so as to get faster > responses from the server. > > Amos > > Don't forget to disallow anything with q=0. e.g. you might see: Accept: image/*, image/jpeg; q=0 If the client wants an image format that is *not* a jpeg.
- Is “fr, en; q=0.3” a valid Accept-Language value? Samuel Williams
- Re: Is “fr, en; q=0.3” a valid Accept-Language va… Julian Reschke
- Re: Is “fr, en; q=0.3” a valid Accept-Language va… Samuel Williams
- Re: Is “fr, en; q=0.3” a valid Accept-Language va… Julian Reschke
- Re: Is “fr, en; q=0.3” a valid Accept-Language va… Samuel Williams
- Re: Is “fr, en; q=0.3” a valid Accept-Language va… Samuel Williams
- Re: Is “fr, en; q=0.3” a valid Accept-Language va… Julian Reschke
- Re: Is “fr, en; q=0.3” a valid Accept-Language va… Samuel Williams
- Re: Is “fr, en; q=0.3” a valid Accept-Language va… Amos Jeffries
- Re: Is “fr, en; q=0.3” a valid Accept-Language va… Samuel Williams
- Re: Is “fr, en; q=0.3” a valid Accept-Language va… Daurnimator