W3C home > Mailing lists > Public > public-webapi@w3.org > March 2006

ACTION-51: XMLHttpRequest and 403

From: Jonas Sicking <jonas@sicking.cc>
Date: Sun, 19 Mar 2006 23:33:35 -0800
Message-ID: <441E5ACF.5000401@sicking.cc>
To: Web APIs WG <public-webapi@w3.org>

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:18:54 GMT