Re: qvalue *

Frank Ellermann wrote:
> 
> The <qvalue>s are supposed to mean something.  In the case
> of Accept-Language: en,de,frr;q=0.1,frs;q=0.1  I'd guess
> (and implement) that this means "user wants 'en' or 'de', 
> if both are unavailable frr or frs".  If 'en' *and* 'de' 
> are available toss a coin, or take always the first / last, 
> the user doesn't care.

Actually, not quite flip-a-coin; the server can (and in the case of httpd,
it will) order preferences according to it's own qvalue list.  So in this
case of en == de, where the document was composed in German and translated
into english, the website author can reasonably attempt to serve an original
document rather than a translation.

Received on Monday, 4 August 2008 19:25:15 UTC