Provides convenience method for dealing with HTTP messages.
statusMessage(int $statusCode) : string
| link |
Transfer Protocol (HTTP) Status Code Registry http://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml |
|---|---|
intA status code conforming to RFC 2616.
string
statusHeader(int $statusCode) : void
intThe status code to send.