New: Allow HEAD requests to ping endpoint

Closes #6656
This commit is contained in:
Bogdan 2024-03-28 07:30:45 +02:00 committed by GitHub
parent 1ec1ce58e9
commit 7353fe479d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -22,6 +22,7 @@ namespace NzbDrone.Http
[AllowAnonymous] [AllowAnonymous]
[HttpGet("/ping")] [HttpGet("/ping")]
[HttpHead("/ping")]
[Produces("application/json")] [Produces("application/json")]
public ActionResult<PingResource> GetStatus() public ActionResult<PingResource> GetStatus()
{ {