The code and its reason will be sent to client using the currently requested http protocol version (see {@link THttpRequest::getHttpProtocolVersion})
Keep in mind that HTTP/1.0 clients might not understand all status codes from HTTP/1.1
public setStatusCode ( $status, $reason = null ) |