On 27 Mar 2007, at 14:17, David Bovill wrote:

Thanks Andre, I have tried a bunch of variations and think I must be making a basic error as I am getting nothing but "Internal server errors". What's
wrong with this script:

on startup
  put "Do nothing" into buffer
  -- put "HTTP/1.1 204" && buffer & crlf & crlf

  put "HTTP/1.0 204 my descriptive text"
  put "Content-Type: text/html" & CR
  put "Content-Length: "& length(buffer) & crlf & crlf
  -- write buffer to stdout

  quit
end startup

David, try this:

 put "Status: 204 my descriptive text" & cr
 put "Content-Type: text/html" & CR
 put "Content-Length: "& length(buffer) & cr & cr
  -- write buffer to stdout

Cheers
Dave
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to