public function Response::isInformational

Same name in this branch

Is response informative?

@api

Return value

Boolean

1 call to Response::isInformational()

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;
}