W3C home > Mailing lists > Public > ietf-http-wg@w3.org > April to June 2011

Redirects and headers

From: Anne van Kesteren <annevk@opera.com>
Date: Tue, 28 Jun 2011 10:49:07 +0200
To: "HTTP WG" <ietf-http-wg@w3.org>
Message-ID: <op.vxr2r5y164w2qv@anne-van-kesterens-macbook-pro.local>
HTTP is unclear as to which headers part of the original request are to be  
preserved in the request to the new URL. E.g. the specification for the  
EventSource object (server-sent events) says that implementations are to  
follow redirects. It also says they have to include a Cache-Control header  
in the original request. Is this header included in subsequent redirected  
requests? Are headers set via setRequestHeader() in XMLHttpRequest  
included in subsequent redirected requests?

It would be good I think if the HTTP specification talked about this in  
the 3xx section.

Anne van Kesteren
Received on Tuesday, 28 June 2011 08:49:36 UTC

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