[whatwg] XMLHttpRequest: getAllResponseHeaders

Hallvord Reiar Michaelsen Steen hallvord at hallvord.com
Wed Jan 25 03:54:25 PST 2006


On 22 Jun 2005 at 10:44, Hallvord Reiar Michaelsen Ste wrote:

> > 2) This is not what UAs actually do. IE and FF throw an exception and 
> > Opera returns an empty string.
> 
> Same applies to getResponseHeader, except that the spec actually says 
> "return empty string" rather than null here.

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

-- 
Hallvord Reiar Michaelsen Steen
http://www.hallvord.com/





More information about the whatwg mailing list