[Xitami] MIME Type Header

Jeff Crist xitami@lists.xitami.org
Fri, 12 Oct 2001 09:46:12 -0700


This is a multi-part message in MIME format.

------=_NextPart_000_010D_01C15302.BA862CC0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

We received a CGI program from a third party that is suppose to redirect the
browser using the "Location:" header instead of outputting the usual
"Content-type: text/html" MIME type header.  At this point it is not working
and we aren't sure yet if it is because the program is not outputting the
Location header correctly.

What I want to verify is that Xitami does NOT output the "Content-type:
text/html" header by default when executing CGI programs from the cgi-bin
directory.  If it does, then this is obviously the cause of the problem.
And if so, is there anyway of preventing it from doing this?

Jeff Crist

"It is only possible to live happily ever after on a day to day basis."  -
Mary Bonnano


------=_NextPart_000_010D_01C15302.BA862CC0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 5.50.4522.1800" name=3DGENERATOR></HEAD>
<BODY>
<DIV><SPAN class=3D845024316-12102001><FONT face=3DArial size=3D2>We =
received a CGI=20
program from a third party that is suppose to redirect the browser using =
the=20
"Location:" header instead of outputting the usual "Content-type: =
text/html"=20
MIME type header.&nbsp; At this point it is not working and we aren't =
sure yet=20
if it is because the program is not outputting the Location header=20
correctly.</FONT></SPAN></DIV>
<DIV><SPAN class=3D845024316-12102001><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D845024316-12102001><FONT face=3DArial size=3D2>What I =
want to=20
verify is that Xitami does NOT output the "Content-type: text/html" =
header by=20
default when executing CGI programs from the cgi-bin directory.&nbsp; If =
it=20
does, then this is obviously the cause of the problem.&nbsp; And if so, =
is there=20
anyway of preventing it from doing this?</FONT></SPAN></DIV>
<DIV><SPAN class=3D845024316-12102001></SPAN>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Jeff Crist</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D756385617-29082001>"It is =
only possible=20
to live happily ever after on a day to day basis."&nbsp; - Mary=20
Bonnano</SPAN></FONT></DIV>
<DIV>&nbsp;</DIV></BODY></HTML>

------=_NextPart_000_010D_01C15302.BA862CC0--