W3C home > Mailing lists > Public > public-webapps@w3.org > July to September 2010

Re: [XHR] Redirects

From: Anne van Kesteren <annevk@opera.com>
Date: Fri, 27 Aug 2010 14:50:52 +0200
To: "WebApps WG" <public-webapps@w3.org>
Cc: Joćo Eiras <joao.eiras@gmail.com>
Message-ID: <op.vh3km2ym64w2qv@anne-van-kesterens-macbook-pro.local>
On Fri, 13 Aug 2010 00:13:16 +0200, Joćo Eiras <joao.eiras@gmail.com>  
wrote:
> Between the boolean and an integer, the integer is more useful, although  
> seeing long redirection chains is somewhat rare and overkill.

I went for a boolean followRedirects attribute as that gives sufficient  
low-level control that people can implement whatever behavior they want on  
top of that. (Including every use case mentioned in this thread.) This is  
an XMLHttpRequest Level 2 feature now:

http://dev.w3.org/2006/webapi/XMLHttpRequest-2/


-- 
Anne van Kesteren
http://annevankesteren.nl/
Received on Friday, 27 August 2010 12:51:30 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:40 GMT