W3C home > Mailing lists > Public > public-webapps@w3.org > April to June 2011

Re: [XHR] setRequestHeader and redirects

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Sun, 26 Jun 2011 10:46:23 -0400
Message-ID: <4E07463F.3080607@mit.edu>
To: public-webapps@w3.org
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.

Received on Sunday, 26 June 2011 14:47:00 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:13:20 UTC