Bug#157734: closed by Marco Rodrigues <gothicx@sapo.pt> (Package apache has been removed from Debian)
On Sun, Sep 27, 2009 at 09:02:32AM +0200, Stefan Fritsch wrote:
> On Thursday 17 September 2009, Josip Rodin wrote:
> > I'm moving this to apache2, the same issue exists there, it was
> > only filed on apache 1.x because that's what was used at the time
> > :) Please forward it upstream.
> >
>
> Can you please report which problems still apply with 2.2?
>
> > Problem 1: A user sends 'Accept-Language: *'
>
> 2.2 has LanguagePriority and "ForceLanguagePriority Fallback" which
> should help with the problem.
>
> > Problem 2: user sends a language with country code but not the plain
> > language
>
> According to James A. Treacy's comment, this should be fixed in 2.x:
>
> >> In 2.0, Apache will, however, implicitly add the generic version of
> >> the language to the accept-language list with a low priority as
> >> described here:
> >> http://httpd.apache.org/docs-2.0/content-negotiation.html#exception
>
> Is this insufficient? If yes, what is required?
Please see my original report. The behaviour doesn't appear to have changed:
% wget -q http://www.debian.org/ --header="Accept-Language: en-ca, fr" -O - | grep html\ lang
<html lang="fr">
% wget -q http://www.debian.org/ --header="Accept-Language: en, fr" -O - | grep html\ lang
<html lang="en">
We want the first user priority to be honored, even if we can't satisfy it
in a specific manner.
--
2. That which causes joy or happiness.
Reply to: