[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] HTTP Headers (was "CGI line reader")



On 11/7/97 Mark Manning/Muniz Eng. wrote:

>So for example:
>
>$!perl
>
>	print <<END_HTML;
>Content-type:	text/html
>
><html>

etc...

I find it interesting that you included the HTTP header info:

	Content-type:	text/html

For some reason I thought this was being handled by the "glue". Is it
necessary? (My guess is that it's not.) I suppose my CGI could return a GIF
in which case I might have to force the browser to view it correctly with:

	Content-type:	image/gif

What HTTP header info does the glue supply? Is there any limit to the
headers I can add? Thanks, RR

__________________________________________________________________________
  Richard Rathe, MD                       mailto:rrathe@dean.med.ufl.edu
  University of Florida                  http://www.med.ufl.edu/medinfo/  



***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch