set_status
Description:
Sets this's status code to status_code
.
If status_code
is a known value and reason_phrase
is null, the reason_phrase will
be set automatically.
Parameters:
this | |
status_code |
an HTTP status code |
reason_phrase |
a reason phrase |