W3C home > Mailing lists > Public > ietf-http-wg-old@w3.org > May to August 1996

HTTP/1.1, queries, and redirect

From: Dave Kristol <dmk@allegra.att.com>
Date: Wed, 21 Aug 96 09:35:31 EDT
Message-Id: <9608211335.AA16156@zp>
To: http-wg%cuckoo.hpl.hp.com@hplb.hpl.hp.com
X-Mailing-List: <http-wg@cuckoo.hpl.hp.com> archive/latest/1438
Suppose a search service moves from MachineA to MachineB.  MachineA
redirects the requests.  Should MachineA affix the query string to
the Location header?  That is, if MachineA receives URL
should it return a header
	Location: http://MachineB/search
	Location: http://MachineB/search?query

The specification gives no guidance.  Empirically, user agents just go
to wherever the Location header says to go.  So if the query string is
omitted, the search doesn't happen at MachineB, because the user agent
doesn't concatenate the query string.  (And it probably shouldn't, in

My server will append the query string on redirects that arise from the
server's configuration.  (CGIs can return whatever.)  What do others do?

Received on Wednesday, 21 August 1996 06:40:28 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:40:18 UTC