public function Response::canValidate

Check if the response can be validated against the origin server using a conditional GET request.

Return value

bool

1 call to Response::canValidate()
Response::canCache in drupal/core/vendor/guzzle/http/Guzzle/Http/Message/Response.php
Check if the response can be cached

File

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

Class

Response
Guzzle HTTP response object

Namespace

Guzzle\Http\Message

Code

public function canValidate() {
  return $this
    ->getEtag() || $this
    ->getLastModified();
}