From 63f44e38bd82b497c64e969a5bd01c338a9d8288 Mon Sep 17 00:00:00 2001 From: Christian Flothmann Date: Fri, 9 Oct 2015 09:58:49 +0200 Subject: [PATCH] [#5771] remove another Response constant --- 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 1d5cb32132d..5cb66842ff5 100644 --- a/book/http_cache.rst +++ b/book/http_cache.rst @@ -912,7 +912,7 @@ Here is how you can configure the Symfony reverse proxy to support the if ('127.0.0.1' !== $request->getClientIp()) { return new Response( 'Invalid HTTP method', - Response::HTTP_BAD_REQUEST + 400 ); }