Skip to content

Commit 164db85

Browse files
committed
Merge branch '2.7' into 2.8
* 2.7: fix status code in snippet
2 parents cba307c + 351f796 commit 164db85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

book/http_cache.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -920,7 +920,7 @@ Here is how you can configure the Symfony reverse proxy to support the
920920
if ($this->getStore()->purge($request->getUri())) {
921921
$response->setStatusCode(200, 'Purged');
922922
} else {
923-
$response->setStatusCode(200, 'Not found');
923+
$response->setStatusCode(404, 'Not found');
924924
}
925925

926926
return $response;

0 commit comments

Comments
 (0)