Check whether the response in successful
Return value
boolean
File
- drupal/core/vendor/easyrdf/easyrdf/lib/EasyRdf/Http/Response.php, line 115
Class
- EasyRdf_Http_Response
- Class that represents an HTTP 1.0 / 1.1 response message.
Code
public function isSuccessful() {
return $this->status >= 200 && $this->status < 300;
}