W3C home > Mailing lists > Public > ietf-http-wg@w3.org > October to December 2011

Re: Possible issue: Accept-language priority based on language order

From: Harald Alvestrand <harald@alvestrand.no>
Date: Fri, 25 Nov 2011 00:15:19 +0100
Message-ID: <4ECED007.4000103@alvestrand.no>
To: ietf-http-wg@w3.org
Thanks for the datasets, Amos!

Quick analysis of the 1742 different Accept-Language header:

156 multiple languages, none with q values
247 single language with no q value
43 all languages with q value
1255 all languages but one with q value
41 multiple languages without q value, some with q value

I didn't check whether the values were always sorted; there were some 
like this one:

th-th,th;q=0.8,en-us;q=0.6,en-gb;q=0.4,en;q=0.2,x-ns1rW_REX3VNhu,x-ns2p1c0Nnym7b6

where it certainly looks as if the accept-language header was used to 
communicate something that isn't a standard language, but strictly 
speaking, those rightmost values sort before #2 from the left, because 
the default q value is 1.0.

So there are 197 examples of headers whose interpretation according to 
the standard might be affected by the proposed interpretation (or 
integration of information from another specification).

If practice out there is consistent with regard to this interpretation, 
I think it is good to document it, so that we might reduce the chance of 
future practice from diverging from current practice.

              Harald
Received on Thursday, 24 November 2011 23:15:49 GMT

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