W3C home > Mailing lists > Public > whatwg@whatwg.org > November 2004

[whatwg] handling redirects with XMLHttpRequest

From: Julian Reschke <julian.reschke@gmx.de>
Date: Fri, 26 Nov 2004 17:36:34 +0100
Message-ID: <41A75B92.7050805@gmx.de>
Hallvord Reiar Michaelsen Steen wrote:
> Perhaps say:
> If the response is an HTTP redirect, then it should be transparently 
> followed unless it redirects to an address the UA finds unacceptable 
> due to security limitations or infinite loop precautions. In this 
> case the UA must complete loading with the current response.
> (If that isn't clear enough any rewording is much appreciated, it 
> still seems a bit kludgy to me.)

Note that it may be hard to follow the redirect transparently if the 
request needs a request body for which a stream object was provided 
(Microsoft's implementation for instance hangs when it gets 302 upon 

Best regards, Julian

<green/>bytes GmbH -- http://www.greenbytes.de -- tel:+492512807760
Received on Friday, 26 November 2004 08:36:34 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:20 UTC