From 06c9efc7c8bada1445df687bdd8be958fa087554 Mon Sep 17 00:00:00 2001 From: Alessio Barnini Date: Sat, 9 Apr 2016 14:56:37 +0200 Subject: [PATCH] fix status code in snippet --- book/http_cache.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/book/http_cache.rst b/book/http_cache.rst index 0bf1a145a9b..76879a288a6 100644 --- a/book/http_cache.rst +++ b/book/http_cache.rst @@ -917,7 +917,7 @@ Here is how you can configure the Symfony reverse proxy to support the if ($this->getStore()->purge($request->getUri())) { $response->setStatusCode(200, 'Purged'); } else { - $response->setStatusCode(200, 'Not found'); + $response->setStatusCode(404, 'Not found'); } return $response;