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

Bug#358459: Bug 358459: The problem could be solved on Debian's side



On Thu, 2008-10-09 at 16:55 +0200, Didier Raboud wrote:
> My actual konqueror (3.5.9.dfsg.1-5) sends "Accept-Language: fr,en", which, 
> according to RFC2616 (HTTP1.1) [0], means that both french and english are 
> _equally_ acceptable (Section 14.4) :
[..]
> My proposal is to render the correct language page according to the user's 
> priority list (ordered list), instead of the server's.

If the web server were to render page according to the list order, it
would mean that it doesn't consider them "equally acceptable".

The way I understand the specs is that if a user states that two
languages are "equally acceptable", then it means that it's up to the
server to negotiate, based on it's own criteria.

The RFC2616 "12.1 Server-driven Negotiation" says :
> However, an origin server is not limited to these dimensions and MAY
> vary the response based on any aspect of the request, including
> information outside the request-header fields or within extension
> header fields not defined by this specification.

And that's very useful for server side negotiation, because on the
server side, it's likely that the language were written in one given
language, then translated. It would then be sensible to provide the
original document.

Thanks for the suggestion anyway (and Keep reporting bugs).

Franklin




Reply to: