Zend_Http_Response::responseCodeAsText
A convenience function that returns a text representation of HTTP response codes. Returns 'Unknown' for unknown codes.
Returns array of all codes, if $code is not specified. Conforms to HTTP/1.1 as defined in RFC 2616 (except for 'Unknown') See http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10 for reference
Signature
public function responseCodeAsText([int
$code = NULL,
[boolean
$http11 = true]] )
Parameters
$code
— int- HTTP response code
$http11
— boolean- Use HTTP version 1.1
Returns
- string