bug 258246: RFC: Accept language header: 'en-gb' and matching

Christopher Hicks chicks at chicks.net
Mon Sep 13 14:11:58 UTC 2004


On Sun, 12 Sep 2004, Gervase Markham wrote:
> David Miller wrote:
>> In otherwords, we can't depend on the presence of a generic "xx" to be 
>> compatible with "xx-yy"
>
> I can see why they say that, to cover their backs - but surely it is in fact 
> true in 99% of cases?

I thought the Intenet Way was to be strict in what you send and liberal in 
what you accept?

> If, as Tobias asserts, there are a bunch of misconfigured clients out 
> there sending only de-de and not de, surely this trumps the possibility 
> that someone sending pt-BR would rather have en than a generic pt?

Are German client the main problem here?  If so can't we make an exception 
for the wayward German clients and accept de-de as de and leave the rest 
as is?

-- 
</chris>

There are two ways of constructing a software design. One way is to make 
it so simple that there are obviously no deficiencies. And the other way 
is to make it so complicated that there are no obvious deficiencies.
  -- C.A.R. Hoare




More information about the developers mailing list