8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9b7fe51 + 63f44e3 commit e7f7391Copy full SHA for e7f7391
book/http_cache.rst
@@ -912,7 +912,7 @@ Here is how you can configure the Symfony reverse proxy to support the
912
if ('127.0.0.1' !== $request->getClientIp()) {
913
return new Response(
914
'Invalid HTTP method',
915
- Response::HTTP_BAD_REQUEST
+ 400
916
);
917
}
918
book/testing.rst
@@ -277,7 +277,7 @@ document::
277
$this->assertTrue($client->getResponse()->isNotFound());
278
// Assert a specific 200 status code
279
$this->assertEquals(
280
- 200, // or Symfony\Component\HttpFoundation\Response::HTTP_OK
+ 200,
281
$client->getResponse()->getStatusCode()
282
283
0 commit comments