Re: [XHR] setRequestHeader and redirects

On Sat, 02 Jul 2011 10:13:25 +0200, Anne van Kesteren <>  
> On Sun, 26 Jun 2011 16:46:23 +0200, Boris Zbarsky <>  
> wrote:
>> On 6/25/11 2:23 PM, Anne van Kesteren wrote:
>>> So each specification that deals with custom headers of some kind (e.g.
>>> EventSource has Last-Event-ID and Cache-Control) needs to say what
>>> happens to them in the face of redirects?
>> On the face of it, yes.  Especially because different redirect response  
>> codes have different semantics (well, in theory), so some headers may  
>> need to be preserved across some of them but not others.  And without  
>> knowing the meaning of the header, it's impossible to say when it  
>> should be preserved across the redirect and when it only makes sense in  
>> the context of the original request.
> I raised this with the HTTP WG:
> It seems they are going to do something about it:
> I guess we should evaluate again when that is done.

This ended up coming back to us. HTML fetching will hopefully address this  

Anne van Kesteren

Received on Monday, 6 February 2012 18:34:03 UTC