浏览代码

Update Jellyfin.Api/Helpers/FileStreamResponseHelpers.cs

Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
Szymon Acedański 4 年之前
父节点
当前提交
b1e8a8565f
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Jellyfin.Api/Helpers/FileStreamResponseHelpers.cs

+ 1 - 1
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();