public function Response::isInformational

Same name in this branch
  1. 9.x drupal/core/vendor/guzzle/http/Guzzle/Http/Message/Response.php \Guzzle\Http\Message\Response::isInformational()
  2. 9.x drupal/core/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Response.php \Symfony\Component\HttpFoundation\Response::isInformational()

Is response informative?

@api

Return value

Boolean

1 call to Response::isInformational()
Response::prepare in drupal/core/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Response.php
Prepares the Response before it is sent to the client.

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