public function Response::getExpires

Same name in this branch

Get the Expires HTTP header

Return value

string|null Returns the date/time after which the response is considered stale.

1 call to Response::getExpires()
Response::getMaxAge in drupal/core/vendor/guzzle/http/Guzzle/Http/Message/Response.php
Gets the number of seconds from the current time in which this response is still considered fresh

File

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

Class

Response
Guzzle HTTP response object

Namespace

Guzzle\Http\Message

Code

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