W3C home > Mailing lists > Public > public-webapi@w3.org > November 2007

Re: [XHR] i18n comment 6: combining of multiple Accept-Language headers

From: Anne van Kesteren <annevk@opera.com>
Date: Thu, 29 Nov 2007 17:53:19 +0100
To: addison@yahoo-inc.com, public-webapi@w3.org, public-i18n-core@w3.org
Message-ID: <op.t2kbu5dy64w2qv@annevk-t60.oslo.opera.com>

On Thu, 29 Nov 2007 17:12:07 +0100, <addison@yahoo-inc.com> wrote:
> --
> If the header argument is in the list of request headers either use  
> multiple headers, combine the values or usea combination of those
> --
>
> It then gives and example in which the headers are combined  
> algorithmically (basically, concatenating them). However, some headers,  
> such as Accept-Language, use q-weights and other structure and this  
> approach may not work acceptably in those cases. Perhaps provide some  
> guidance on these cases?

Correct. The method does not take HTTP semantics into account. I haven't  
had feedback so far that this is actually problematic, apart from that it  
isn't very nice. (If in due course authors do start to complain about this  
it is something that could be addressed by XMLHttpRequest Level 3.)


-- 
Anne van Kesteren
<http://annevankesteren.nl/>
<http://www.opera.com/>
Received on Thursday, 29 November 2007 16:52:42 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:18:58 GMT