Quick CGI question: doing nothing?
david at openpartnership.net
Tue Mar 27 09:00:04 CDT 2007
OK - thanks guys that fixed it:
put "Hello world!" into buffer
-- put "HTTP/1.0 204 my descriptive text" & crlf
put "Status: 204 my descriptive text" & CR
put "Content-Type: text/html" & CR
put "Content-Length: "& length(buffer) & crlf & crlf
I guess the "Status:" part of the header applies to other status responses?
NB - is there a rhyme and a reason to when to use CR and when CRLF - it
seems pretty well interchangeable on a Linux server, are there any "buts"?
Sam goes with using "write buffer to stdout" or just "put buffer" - any
More information about the use-livecode