public function Response::getWarning

Get the Warning HTTP header

Return value

string|null A general warning about possible problems with the entity body. (e.g. 199 Miscellaneous warning)

File

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

Class

Response
Guzzle HTTP response object

Namespace

Guzzle\Http\Message

Code

public function getWarning() {
  return $this
    ->getHeader('Warning', true);
}