public function Response::getEtag

Same name in this branch

Returns the literal value of the ETag HTTP header.

@api

Return value

string The ETag HTTP header

1 call to Response::getEtag()
Response::isNotModified in drupal/core/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Response.php
Determines if the Response validators (ETag, Last-Modified) match a conditional value specified in the Request.

File

drupal/core/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Response.php, line 828

Class

Response
Response represents an HTTP response.

Namespace

Symfony\Component\HttpFoundation

Code

public function getEtag() {
  return $this->headers
    ->get('ETag');
}