Re: redirect.pl sez Content-Type: application/x-perl
On Wed, Oct 23, 2002 at 10:07:46PM -0400, Lou Poppler wrote:
> > > This script produces a 302 redirect response, but it unfortunately
> > > contains a header which confuses my antique browser, specifically
> > > the last "Content-Type: application/x-perl "
> > >
> > > HTTP/1.1 302 Moved
> > > Date: Wed, 23 Oct 2002 19:43:53 GMT
> > > Server: Apache/1.3.9 (Unix) Debian/GNU PHP/4.0.3pl1
> > > Location: http://www.us.debian.org/
> > > Connection: close
> > > Content-Type: application/x-perl
> > >
> > > Is it really necessary to insert this strange header in a redirect ?
> > > (especially since the content length of the reply is zero.)
> > Hmm. This is added by our Apache. I don't know offhand if and how we could
> > remove it.
> > What browser is this?
> Lynx Version 2.6
> Yes, yes, I know. That's a part of the reason I'm trying to poke around
> debian's website in the first place.
> If it can't be removed, maybe it could instead say:
> Content-Type: text/html
Hmm, you're right, I suppose it should do that. Maybe an even smarter thing
would be to ditch the redirect script and just use a server redirect.
(Heh, that Content-Type line triggered my excessively anal anti-HTML email
filter, so I saw this message in my =spam-html mailbox. Sorry for the delay.)
2. That which causes joy or happiness.