W3C home > Mailing lists > Public > whatwg@whatwg.org > January 2006

[whatwg] XMLHttpRequest: getAllResponseHeaders

From: Hallvord Reiar Michaelsen Steen <hallvord@hallvord.com>
Date: Wed, 25 Jan 2006 20:54:12 +0900
Message-ID: <43D7E574.9294.1AE841AC@hallvord.hallvord.com>
On 22 Jun 2005 at 10:24, Hallvord Reiar Michaelsen Ste wrote:

>> getAllResponseHeaders() 
>> If the readyState attribute has a value other than 3 (Receiving) or
>> 4 (Loaded), returns null.

> 1) This seems a bit inconsistent since the spec says that accessing 
> status and statusText out of order should cause exception.
> 2) This is not what UAs actually do. IE and FF throw an exception and 
> Opera returns an empty string.

 <dd>If the <code title="XMLHttpRequest.readyState"><a
    href="#readystate">readyState</a></code> attribute has a value 
other than
    3 (Receiving) or 4 (Loaded), throws an exception.

-- 
Hallvord Reiar Michaelsen Steen
http://www.hallvord.com/
Received on Wednesday, 25 January 2006 03:54:12 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:44 UTC