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()

Checks if HTTP Status code is Information (1xx)

Return value

bool

File

drupal/core/vendor/guzzle/http/Guzzle/Http/Message/Response.php, line 746

Class

Response
Guzzle HTTP response object

Namespace

Guzzle\Http\Message

Code

public function isInformational() {
  return $this->statusCode < 200;
}