W3C home > Mailing lists > Public > public-webapi@w3.org > March 2008

Re: [xmlhttprequest] getResponseHeader() for invalid header

From: Anne van Kesteren <annevk@opera.com>
Date: Sat, 08 Mar 2008 00:54:24 +0100
To: "Maciej Stachowiak" <mjs@apple.com>
Cc: "Web API WG (public)" <public-webapi@w3.org>
Message-ID: <op.t7n7cypv64w2qv@annevk-t60.oslo.opera.com>

On Sat, 08 Mar 2008 00:42:47 +0100, Maciej Stachowiak <mjs@apple.com>  
> On Mar 7, 2008, at 3:12 PM, Anne van Kesteren wrote:
>> I think three out of four return null for a non-existent header (IE  
>> being the exception, iirc). Firefox and an internal version of Opera  
>> also return null for invalid headers. (Although for Firefox it seems to  
>> differ on based on whether the request has happened already or  
>> something...)
> In that case I think it makes sense to use null for both missing and  
> invalid headers.

Agreed. Fixed in both XMLHttpRequest specs and also in the test suite.

Anne van Kesteren
Received on Friday, 7 March 2008 23:54:38 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:16:25 UTC