Skip to content

Commit 63f44e3

Browse files
committed
[#5771] remove another Response constant
1 parent 19e0b19 commit 63f44e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

book/http_cache.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -912,7 +912,7 @@ Here is how you can configure the Symfony reverse proxy to support the
912912
if ('127.0.0.1' !== $request->getClientIp()) {
913913
return new Response(
914914
'Invalid HTTP method',
915-
Response::HTTP_BAD_REQUEST
915+
400
916916
);
917917
}
918918

0 commit comments

Comments
 (0)