Skip to content

Commit 0474b57

Browse files
committed
bug #6451 fix status code in snippet (Barno)
This PR was submitted for the 3.0 branch but it was merged into the 2.3 branch instead (closes #6451). Discussion ---------- fix status code in snippet | Q | A | ------------- | --- | Doc fix? | yes | New docs? | no | Applies to | all Commits ------- f8f70ba fix status code in snippet
2 parents a0165f9 + f8f70ba commit 0474b57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

book/http_cache.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -920,7 +920,7 @@ Here is how you can configure the Symfony reverse proxy to support the
920920
if ($this->getStore()->purge($request->getUri())) {
921921
$response->setStatusCode(200, 'Purged');
922922
} else {
923-
$response->setStatusCode(200, 'Not found');
923+
$response->setStatusCode(404, 'Not found');
924924
}
925925

926926
return $response;

0 commit comments

Comments
 (0)