Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita6cbbb2

Browse files
committed
Revert "[#5771] remove another Response constant"
This reverts commit63f44e3.The `Response::HTTP_BAD_REQUEST` constant was added in Symfony 2.4.Thus, removing it (as done it was done after#5771 for the `2.3`branch) must be reverted for the documentation of the `2.7` branch.
1 parent98967bf commita6cbbb2

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-
400
915+
Response::HTTP_BAD_REQUEST
916916
);
917917
}
918918

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp