On Mon, 20 Mar 2006 08:33:35 +0100, Jonas Sicking <[EMAIL PROTECTED]> wrote:
I tested what mozilla does when receiving a statuscode of 403.

We basically do the same as for a 200, except that xhr.status returns 403. The onreadystatechange handler fires as normal and both xhr.responseXML and xhr.responseText is set as normal.

A testcase can be found at
http://people.mozilla.com/~sicking/testcases/xhr-header.html

For XHR2 it would be interesting to know if you invoke .onload or .onerror and if you think that can be changed.


--
Anne van Kesteren
<http://annevankesteren.nl/>
<http://www.opera.com/>


Reply via email to