module Content:sig..end
Functions for generating content (the output of the service).
val redirect : ?msg:string ->
?status:Nethttp.http_status -> Netcgi.cgi -> string -> Nethttp.http_statusredirect ?msg ?status cgi location: generate a redirect to location. Happens
immediately; cgi # output # commit_work () has been called.
statusmsg : redirection message (default: "You are being redirected to %s" % location)status : the HTTP status; should be a 3xx (default: `Temporary_redirect)val write : ?status:Nethttp.http_status ->
?content_type:string -> Netcgi.cgi -> string -> Nethttp.http_statuswrite ?content_type cgi str: write out content as the total
value of the service call. Once this function is called, there is
no way to generate further data (i.e., cgi # output # commit_work () has been called).
statusstatus : the HTTP status code (default: `Ok)content_type : the content-type (default: "text/html")