We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6f3e0c4 commit 6a2a877Copy full SHA for 6a2a877
http_cache/validation.rst
@@ -200,7 +200,7 @@ exposing a simple and efficient pattern::
200
201
// create a Response with an ETag and/or a Last-Modified header
202
$response = new Response();
203
- $response->setETag($article->computeETag());
+ $response->setEtag($article->computeETag());
204
$response->setLastModified($article->getPublishedAt());
205
206
// Set response as public. Otherwise it will be private by default.
0 commit comments