Solar_Http_Response::setStatusCode()
public
Solar_Http_Response
Solar_Http_Response::setStatusCode
( int $code
)
Sets the HTTP response status code.
Parameters
(int)
$code
: An HTTP status code, such as 200, 302, 404, etc.
Returns
(Solar_Http_Response) This response object.
Description
Sets the HTTP response status code.
Automatically resets the status text to the default for this code.