Re: [XHR] Redirects

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 UTC