[whatwg] handling redirects with XMLHttpRequest

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 
PROPFIND).

Best regards, Julian

-- 
<green/>bytes GmbH -- http://www.greenbytes.de -- tel:+492512807760

Received on Friday, 26 November 2004 08:36:34 UTC