W3C home > Mailing lists > Public > ietf-http-wg@w3.org > July to September 2008

Re: qvalue *, was: Issue 113

From: Henrik Nordstrom <henrik@henriknordstrom.net>
Date: Mon, 04 Aug 2008 23:59:23 +0200
To: Frank Ellermann <hmdmhdfmhdjmzdtjmzdtzktdkztdjz@gmail.com>
Cc: ietf-http-wg@w3.org
Message-Id: <1217887163.12221.60.camel@henriknordstrom.net>

On mån, 2008-08-04 at 11:02 +0200, Frank Ellermann wrote:
> And <http://delorie.com:81/> tells me that it is in
> fact Accept-Charset: windows-1252,utf-8;q=0.7,*;q=0.7

And what's the problem with that? Yes,your user-agent apparently have a
bit of a  problem making up it's mind.. (the utf-8;q=0.7 part is
redundant... same qvalue as *) but It's very clear how the header should
be read. But maybe it's a workaround to broken implementations not
understanding *...

redundant details is just redundant, not garbage, and not the source of
failuers.

The definition of * (and no *) for Accept-Charset is:

   The special value "*", if present in the Accept-Charset field,
   matches every character set (including ISO-8859-1) which is not
   mentioned elsewhere in the Accept-Charset field. If no "*" is present
   in an Accept-Charset field, then all character sets not explicitly
   mentioned get a quality value of 0, except for ISO-8859-1, which gets
   a quality value of 1 if not explicitly mentioned.

And default qvalue is defined just above this as:

   Each charset MAY
   be given an associated quality value which represents the user's
   preference for that charset. The default value is q=1.


Regards
Henrik
Received on Monday, 4 August 2008 22:00:01 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 27 April 2012 06:50:54 GMT