Remove special HTTP HEAD processing

removing this allows HTTP 206 Partial Content responses and lets some clients(popcorn hour namely) play videos from JF.
This commit is contained in:
SenorSmartyPants
2022-01-07 16:29:22 -06:00
parent 565ebbb643
commit bd2bec4d4a
2 changed files with 0 additions and 18 deletions

View File

@@ -2020,12 +2020,6 @@ namespace Jellyfin.Api.Controllers
}
}
// if the request is a head request, return a NoContent result with the same headers as it would with a GET request
if (isHeadRequest)
{
return NoContent();
}
return PhysicalFile(imagePath, imageContentType ?? MediaTypeNames.Text.Plain);
}
}