From f8f70ba600a0db6ce8e9201c442e179885a9d6c8 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 571d3f7f9c0..2e3d803fa2a 100644 --- a/book/http_cache.rst +++ b/book/http_cache.rst @@ -920,7 +920,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;