Skip to content

Commit

Permalink
Add cheadAction for wget
Browse files Browse the repository at this point in the history
  • Loading branch information
steevanb committed Feb 5, 2019
1 parent 4ff7452 commit a592b41
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/Controller/RestController.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,10 @@ public function cgetAction()

return $result;
}
}

/** Not needed for benchmark, but by wget when we compare response body to expected one */
public function cheadAction()
{
return $this->cgetAction();
}
}

0 comments on commit a592b41

Please sign in to comment.