Re: redirect.pl sez Content-Type: application/x-perl
On Wed, 23 Oct 2002, Josip Rodin wrote:
> On Wed, Oct 23, 2002 at 03:58:01PM -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
Reply to: