From: DirkM <dirk_at_olx.com>
Date: Mon, 31 Aug 2009 09:44:41 -0500 (CDT)
It seems that if no Accept-Language header is supplied,
ContainerRequest.getAcceptableLanguages() will return a single Locale with
the language set to "*" (as opposed to an empty list). It might be worth
adding something to the javadoc just to be clear.
To check the raw value of the Accept-Language header, call
request.getHeaderValue(HttpHeaders.ACCEPT_LANGUAGE);