OK - thanks guys that fixed it:

on startup
  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
  put buffer
  quit
end startup

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
actual differences?
_______________________________________________
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to