SYNOPSIS
cgi:start(status, text)
DESCRIPTION
Sends the first response header line of the HTTP response. The use of this command is optional. When not used the server will automatically call it as cgi:start(200, "OK").
Example response:
HTTP/1.0 NNN TTTTTTTT
Date: Mon, 00 May 0000 00:00:00 GMT
Server: Core4 Web
The value of status is inserted for NNN, it must be a positive integer. The value of text is inserted for TTTTTTTT.
The server automatically inserts the current date/time and the server name.
This command must be used right after the connection has been established, otherwise the response will be incorrect.
EXAMPLE
cgi:start(200, "OK")