Re: Protocols/APIs and redirects

On 2011-12-07 10:53, Anne van Kesteren wrote:
> On Wed, 07 Dec 2011 02:42:50 +0100, Mark Nottingham <> wrote:
>> Sorry, Anne; I couldn't find it either, so I've just created
>> <>.
>> The discussion wound up here:
>> <>. As
>> others have mentioned, I don't think there's much we can say about
>> this, other than mentioning it as something that people who define new
>> headers should consider.
> Is that another way of saying we should define the behavior in the HTML
> fetch algorithm?

My understanding is that it depends, and needs to decided on a 
per-header basis. We can try classifications that make it easier to 
decide, and we may even be able to recommend a default, but this will 
break when a new header needs the non-default behavior.

The base issue is splitting the responsibilities between two layers, and 
have the lower layer (XHR) trying to decide things that the upper layer 
(the script) should know.

I'm not sure what this has to do with "HTML Fetch", as the problem is 
specific to XHR. I recommend to fix the base issue first, which is that 
clients can't ask XHR not to follow redirects.

Best regards, Julian

Received on Wednesday, 7 December 2011 11:58:35 UTC