Is response informative?
@api
Return value
Boolean
File
- drupal/core/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Response.php, line 1034
Class
- Response
- Response represents an HTTP response.
Namespace
Symfony\Component\HttpFoundation
Code
public function isInformational() {
return $this->statusCode >= 100 && $this->statusCode < 200;
}