in reply to cgi theory
Content-type needs to be printed because you may want to output things other than text/html. You could also do application/pdf or image/jpeg.
Apache needs that blank line because it has no good way of otherwise knowing when you're done printing headers and want to send the actual content. There could be more headers to send other than Content-type.
----
I wanted to explore how Perl's closures can be manipulated, and ended up creating an object system by accident.
-- Schemer
Note: All code is untested, unless otherwise stated
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: cgi theory
by cyril (Acolyte) on Sep 15, 2003 at 20:57 UTC | |
by jdtoronto (Prior) on Sep 16, 2003 at 01:34 UTC |