Language negotiation problem
it seems there is a problem with content language negotiation on
www.debian.org (and also mirrors, like www.fr.debian.org): although my
client declares it accepts "fr, en" (so French first), I only get english
pages. Even if I select the french page, following a link leads me to an
english one (which is coherent to language negotiation though).
To test my client (and because I'm not sure of the language negotiation
method used in other websites), I used this protocol:
1. open a netcat listener:
$ nc -l -p 8080
2. open http://localhost:8080 in the web client (Konqueror or Firefox),
and I get this from Firefox:
GET / HTTP/1.1
User-Agent: Mozilla/5.0 (X11; U; Linux i686; fr; rv:22.214.171.124) Gecko/20060728 Firefox/126.96.36.199 (Debian-1.5.dfsg+188.8.131.52-3)
and "Accept-Language: fr, en" from Konqueror.
I tried changing settings, like "it, en", it does change my test but
not www.debian.org's behaviour. But, with "it, es", I get Italian, with
"es, fr", I get French.
All languages, it, es, en, fr, are available as index.LANG.html.
So why is the behaviour different from times to times?
Sometimes I get the first listed language, sometimes English, or the last
Maybe I'm wrong, but it seems www.debian.org does something wrong,
doesn't it ?