ACTION-51: XMLHttpRequest and 403

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

/ Jonas

Received on Monday, 20 March 2006 07:33:38 UTC