Returns the literal value of the ETag HTTP header.
@api
Return value
string The ETag HTTP header
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');
}