W3C home > Mailing lists > Public > ietf-http-wg@w3.org > April to June 2012

Accept-Language language tag order

From: Gordon P. Hemsley <gphemsley@gmail.com>
Date: Sat, 28 Apr 2012 16:04:10 -0400
Message-ID: <CAH4e3M7mAzPfaMjHb7HiaJyRGLiqnmPRNUCYW4fLhajdXOTtJw@mail.gmail.com>
To: ietf-http-wg@w3.org
Cc: Yves Lafon <ylafon@w3.org>
Hello all,

Back in November, there was a discussion [1] about the priority of
language tag order in the Accept-Language header. The discussion
centered around whether the order of language tags with equal quality
values (usually 1) was significant, and it seemed the consensus was to
not change the spec to say that they were, since most browser UAs
tended to send quality values correctly and changing the semantics of
the spec requires extreme circumstances.

However, I wonder if it might be beneficial to put a SHOULD in the
spec suggesting that UAs to sort the language tags in descending
quality order. I think most UAs already do this, and a SHOULD leaves
enough leeway for those who implemented the old standard, where things
were left ambiguous.

One argument against changing the spec was the desire to not have
exceptions that do not apply to all Accept headers. Thus, I recommend
that the same change be made for all Accept headers: items in a list
SHOULD be listed in descending quality value order.

(I haven't read the entire spec, so maybe this is already specified
somewhere, but I couldn't find it when I was looking for it.)

Thoughts?

Gordon

P.S. I'm not subscribed to this list, so please CC me on all relevant
discussion.

[1] http://lists.w3.org/Archives/Public/ietf-http-wg/2011OctDec/thread.html#msg223

-- 
Gordon P. Hemsley
me@gphemsley.org
http://gphemsley.org/http://gphemsley.org/blog/
Received on Monday, 4 June 2012 14:50:15 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 4 June 2012 14:50:35 GMT