W3C home > Mailing lists > Public > public-webapi@w3.org > September 2007

Re: [XHR] Handle All Status Codes

From: Anne van Kesteren <annevk@opera.com>
Date: Fri, 21 Sep 2007 12:17:47 +0200
To: "Martin Kail" <m.kail@sbcglobal.net>, public-webapi@w3.org
Message-ID: <op.tyz1jxwv64w2qv@annevk-t60.oslo.opera.com>

On Sun, 16 Sep 2007 22:22:37 +0200, Martin Kail <m.kail@sbcglobal.net>  
wrote:
> I'm sure 1000 people have said this before me, but here it is again to  
> show we really want this feature.
>
> I think the XMLHttpRequest object should handle all status codes during  
> a GET, POST or PUT requests.  More specifically, redirects codes (30x)  
> should be set and the "onreadystatechange" event should be fired.  I  
> don't see any problem with transparent redirects, not everyone cares if  
> a request gets redirected.  However, if someone checks the status code  
> during the onreadystatechange event and it returns a 30x value they  
> should be able to abort the request.

We'll address this in XMLHttpRequest level 2.


-- 
Anne van Kesteren
<http://annevankesteren.nl/>
<http://www.opera.com/>
Received on Friday, 21 September 2007 10:18:01 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 10 December 2014 20:05:34 UTC