From a592b412dd8c872ed334bb5d8209ed782b8ba431 Mon Sep 17 00:00:00 2001 From: Steevan BARBOYON Date: Tue, 5 Feb 2019 19:15:59 +0100 Subject: [PATCH] Add cheadAction for wget --- src/Controller/RestController.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/Controller/RestController.php b/src/Controller/RestController.php index 526f8ec..a3b76af 100644 --- a/src/Controller/RestController.php +++ b/src/Controller/RestController.php @@ -34,4 +34,10 @@ public function cgetAction() return $result; } -} \ No newline at end of file + + /** Not needed for benchmark, but by wget when we compare response body to expected one */ + public function cheadAction() + { + return $this->cgetAction(); + } +}