June 2002
Beginner
759 pages
80h 42m
English
send_status_line
$c->send_status_line ( [code, [msg, [proto]]] )
Sends the status line composed of the given
arguments back to the client. If the arguments are given, the
default status line is sent as HTTP/1.1 200 OK. The arguments
are:
codeThe numeric code indicating the status of the request, e.g., 200 for an OK request or 404 for a request for a resource that doesn’t exist
msgA short string describing the status code
protoA string indicating the protocol and version number used by the server, e.g., HTTP/1.1.