dev@jsr311.java.net

Re: JSR311: HttpHeaders.getAcceptableLanguages is pretty useless

From: Paul Sandoz <Paul.Sandoz_at_Sun.COM>
Date: Fri, 01 Aug 2008 10:59:38 +0200

Bill Burke wrote:
> The getAcceptableLanguages methods in HttpHeaders are pretty useless.
> Why? Well there's no qualifier information.
>
> Accept-Language: en-us,en;q=0.5
>
> What use is a list of languages if you don't know the preferences?
>

We need to specify that the returned list must be ordered according to
the quality parameter, with highest quality first (same for
getAcceptableMediaTypes).

Paul.

-- 
| ? + ? = To question
----------------\
    Paul Sandoz
         x38109
+33-4-76188109