Re: ForceLanguagePriority not giving 300 response

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jun 9, 2009 at 10:12 AM, Nick Kew <nick@xxxxxxxxxxxx> wrote:
On 8 Jun 2009, at 21:56, Julien Pauli wrote:

Hi httpd users :)

The documentation says :

A URL for what you're quoting would help here.
http://httpd.apache.org/docs/2.2/mod/mod_negotiation.html#forcelanguagepriority
 


So if I do want a 300 response, I need to put ForceLanguagePriority None (following the documentation syntax).

... making it easier to check what exactly you're paraphrasing there.

http://httpd.apache.org/docs/2.2/mod/mod_negotiation.html#forcelanguagepriority
 


Anyway, doing this with a request like:
GET /multiplechoices HTTP/1.1
Host: myhost
Accept-Language: en,de;q=0.8

So the client expressed a clear preference.  Why should the server
not respect that?

The client gave a null preference : the same q factor for both languages; Apache should reply with a 300 in that case shouldn't it ?


This lets me think that Apache gives preference to the first occurence of language in the Accept-Language header (assuming the same q value) rather than answering me with a 300 Multiple Choices.

What's the "that" in question?

--
Nick Kew

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
 "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


Thx for your answer.

PS : Nick, your Apache Module book is a gemme, I love it ;-)

bye and thx ;-)

[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux