Update Jellyfin.Api/Helpers/FileStreamResponseHelpers.cs

Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
This commit is contained in:
Szymon Acedański 2021-03-24 22:46:08 +01:00 committed by GitHub
parent 136136dea9
commit b1e8a8565f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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();