httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Julien Pauli <doctorroc...@gmail.com>
Subject Re: [users@httpd] ForceLanguagePriority not giving 300 response
Date Tue, 09 Jun 2009 16:35:31 GMT
On Tue, Jun 9, 2009 at 10:12 AM, Nick Kew <nick@webthing.com> 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@httpd.apache.org
>  "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>
Thx for your answer.

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

bye and thx ;-)

Mime
View raw message