You are here

protected function Response::isInformational in RESTful 7.2

Is response informative?

Return value

bool

1 call to Response::isInformational()
Response::prepare in src/Http/Response.php
Prepares the Response before it is sent to the client.

File

src/Http/Response.php, line 184
Contains \Drupal\restful\Http\Response.

Class

Response

Namespace

Drupal\restful\Http

Code

protected function isInformational() {
  return $this->statusCode >= 100 && $this->statusCode < 200;
}