There was an error while loading. Please reload this page.
2 parents 743c42c + de704ad commit c9e6b91Copy full SHA for c9e6b91
book/http_cache.rst
@@ -643,7 +643,7 @@ exposing a simple and efficient pattern::
643
$response->setLastModified($article->getPublishedAt());
644
645
// Check that the Response is not modified for the given Request
646
- if ($response->isNotModified($request)) {
+ if ($response->isNotModified($this->get('request'))) {
647
// return the 304 Response immediately
648
return $response;
649
} else {
0 commit comments