Re: ACTION-51: XMLHttpRequest and 403

On Mon, 20 Mar 2006 08:33:35 +0100, Jonas Sicking <jonas@sicking.cc> 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/>

Received on Sunday, 14 May 2006 12:47:11 UTC