Returns the literal value of the ETag HTTP header.
@api
Return value
string|null The ETag HTTP header or null if it does not exist
File
- drupal/core/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Response.php, line 852
Class
- Response
- Response represents an HTTP response.
Namespace
Symfony\Component\HttpFoundation
Code
public function getEtag() {
return $this->headers
->get('ETag');
}