diff options
| author | Szymon AcedaĆski <accek@mimuw.edu.pl> | 2021-03-24 22:46:08 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-03-24 22:46:08 +0100 |
| commit | b1e8a8565f316e9b3d65b3a681384dfc8d743b98 (patch) | |
| tree | 3cb3800934726d5c37b8e9726f5540ae65f6e708 /Jellyfin.Api/Helpers/FileStreamResponseHelpers.cs | |
| parent | 136136dea95321a1b691d3d5cafeac4f946aaf50 (diff) | |
Update Jellyfin.Api/Helpers/FileStreamResponseHelpers.cs
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
Diffstat (limited to 'Jellyfin.Api/Helpers/FileStreamResponseHelpers.cs')
| -rw-r--r-- | Jellyfin.Api/Helpers/FileStreamResponseHelpers.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Jellyfin.Api/Helpers/FileStreamResponseHelpers.cs b/Jellyfin.Api/Helpers/FileStreamResponseHelpers.cs index a567fce1e..b0fd59e5e 100644 --- a/Jellyfin.Api/Helpers/FileStreamResponseHelpers.cs +++ b/Jellyfin.Api/Helpers/FileStreamResponseHelpers.cs @@ -69,7 +69,7 @@ namespace Jellyfin.Api.Helpers { httpContext.Response.ContentType = contentType; - // if the request is a head request, return a NoContent result with the same headers as it would with a GET request + // if the request is a head request, return an OkResult (200) with the same headers as it would with a GET request if (isHeadRequest) { return new OkResult(); |
