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

Re: [XHR] Redirects

From: Anne van Kesteren <annevk@opera.com>
Date: Mon, 13 Sep 2010 16:31:37 +0200
To: "Darin Fisher" <darin@chromium.org>
Cc: "WebApps WG" <public-webapps@w3.org>
Message-ID: <op.viy6mzq964w2qv@anne-van-kesterens-macbook-pro.local>
On Thu, 02 Sep 2010 20:09:53 +0200, Darin Fisher <darin@chromium.org>  
wrote:
> One more question:  suppose the author requests not to follow redirects.
> Should the .responseText property provide the response body sent with  
> the redirect?  Is there a use case for exposing the response body of a  
> redirect page?
>
> (I ask because in Chromium, the cache does not store response bodies for
> cached redirects.  IIRC, Mozilla's cache is similar.)

When there is no Location header this scenario works fine:

http://tc.labs.opera.com/apis/XMLHttpRequest/send-redirect-no-location.htm

I would expect there to be a response entity body, yes.


-- 
Anne van Kesteren
http://annevankesteren.nl/
Received on Monday, 13 September 2010 14:32:13 GMT

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