public function Response::getLastModified

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

Get the Last-Modified HTTP header

Return value

string|null Returns the last modified date for the requested object, in RFC 2822 format (e.g. Tue, 15 Nov 1994 12:45:26 GMT)

1 call to Response::getLastModified()
Response::canValidate in drupal/core/vendor/guzzle/http/Guzzle/Http/Message/Response.php
Check if the response can be validated against the origin server using a conditional GET request.

File

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

Class

Response
Guzzle HTTP response object

Namespace

Guzzle\Http\Message

Code

public function getLastModified() {
  return $this
    ->getHeader('Last-Modified', true);
}