You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Rob Hartill <ro...@imdb.com> on 1996/06/02 18:07:46 UTC

Behavior bug/question (fwd)

no acked.


Date: Sun, 2 Jun 1996 02:32:13 -0700 (PDT)
From: Jeremey Barrett <je...@forequest.com>
To: apache-bugs@apache.org
Subject: Behavior bug/question
Message-ID: <Pi...@descartes.forequest.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

This may not be a bug, but I am not sure where else to send this, so
here goes.

I have several systems that do relative and external relocations. 
Location: blah

Anyway, these scripts set cookies among other things, and they (the cookies)
we always ignored by the server and not passed to the browser if I was 
setting them in the same set of headers as a Location: header.
In looking at the code, I noticed the comment that outputting Status: 302
would take care of part of the problem, but from what I can tell, not all.
I do NOT want a Content-type header pushed out at all, just Set-Cookie: blah
a couple times and the Location: blah and that's it.  So I hacked it up
and it works great, but I'm wondering if I missed something that I could
have done, though it was only about 10 lines of code to change the 
behavior.

It seems that Apache thinks that an external relocation is some sort of 
error by default, and I'm not sure that's correct.  The main problem
was that if Status: 302 is pushed out by the script, then the server
wants to push out a Content-type header, which I don't want at all.

Thanks much for your time.

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Jeremey Barrett
Senior Software Engineer			jeremey@forequest.com 
The ForeQuest Company       			http://www.forequest.com/

   "less is more."
		-- Mies van de Rohe.

   Ken Thompson has an automobile which he helped design.  Unlike most
   automobiles, it has neither speedometer, nor gas gage, nor any of the
   numerous idiot lights which plague the modern driver.  Rather, if the
   driver makes any mistake, a giant "?" lights up in the center of the
   dashboard.  "The experienced driver", he says, "will usually know
   what's wrong."

		-- 'fortune` output

----- End of forwarded message from Jeremey Barrett -----

-- 
Rob Hartill (robh@imdb.com)
The Internet Movie Database (IMDb)  http://www.imdb.com/
           ...more movie info than you can poke a stick at.