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

Re: ACTION-51: XMLHttpRequest and 403

From: Anne van Kesteren <annevk@opera.com>
Date: Sun, 14 May 2006 12:49:10 +0200
To: "Jonas Sicking" <jonas@sicking.cc>
Cc: "Web APIs WG (public)" <public-webapi@w3.org>
Message-ID: <op.s9jez8ol64w2qv@id-c0020.oslo.opera.com>

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 GMT

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