public function EasyRdf_Http_Response::isRedirect in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/easyrdf/easyrdf/lib/EasyRdf/Http/Response.php \EasyRdf_Http_Response::isRedirect()
Check whether the response is a redirection
Return value
boolean
File
- vendor/
easyrdf/ easyrdf/ lib/ EasyRdf/ Http/ Response.php, line 134
Class
- EasyRdf_Http_Response
- Class that represents an HTTP 1.0 / 1.1 response message.
Code
public function isRedirect() {
return $this->status >= 300 && $this->status < 400;
}