Re: [whatwg] XMLHttpRequest: getAllResponseHeaders

2005-06-23 Thread Christian Biesinger
Hallvord Reiar Michaelsen Steen wrote: FF actually throws an exception if you try to read a non-existing header. The spec recommendation is returning an empty string, which seems better. FWIW, in FF 1.1 that will return null (https://bugzilla.mozilla.org/show_bug.cgi?id=276705) smime.p7s

Re: [whatwg] XMLHttpRequest: getAllResponseHeaders

2005-06-22 Thread Hallvord Reiar Michaelsen Steen
On 22 Jun 2005 at 10:24, I 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)