[whatwg] XMLHttpRequest: getAllResponseHeaders

Hallvord Reiar Michaelsen Steen hallvord at hallvord.com
Wed Jun 22 01:24:08 PDT 2005


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





More information about the whatwg mailing list