W3C home > Mailing lists > Public > whatwg@whatwg.org > June 2005

[whatwg] XMLHttpRequest: getAllResponseHeaders

From: Hallvord Reiar Michaelsen Steen <hallvord@hallvord.com>
Date: Wed, 22 Jun 2005 10:24:08 +0200
Message-ID: <42B93C48.19515.3CF9DA5@localhost>

> 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.

Which behaviour do we want?
-- 
Hallvord Reiar Michaelsen Steen
http://www.hallvord.com/
Received on Wednesday, 22 June 2005 01:24:08 UTC

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