I don't know if this is a problem with CXF or something else.
I'm testing code that handles the "accept-language" request header being present. I'm testing it with a value of "es". The headers are injected into my HttpHeaders instance. When I call "getAcceptableLanguages()" it returns a list with one entry, which when toStringed gets "es". I then call "getLanguage()" and instead of returning "es", it returns null. Besides the fact that it doesn't return "es", I also note that the javadoc says that it should either return "the empty string" or the locale's language code (not null as I found).
