mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-28 23:42:55 +02:00
enable range processing for download endpoints
This commit is contained in:
parent
6d0b2ed080
commit
b3d084044e
1 changed files with 2 additions and 2 deletions
|
|
@ -114,7 +114,7 @@ namespace Jellyfin.Api.Controllers
|
|||
return NotFound();
|
||||
}
|
||||
|
||||
return PhysicalFile(item.Path, MimeTypes.GetMimeType(item.Path));
|
||||
return PhysicalFile(item.Path, MimeTypes.GetMimeType(item.Path), true);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
@ -666,7 +666,7 @@ namespace Jellyfin.Api.Controllers
|
|||
}
|
||||
|
||||
// TODO determine non-ASCII validity.
|
||||
return PhysicalFile(path, MimeTypes.GetMimeType(path), filename);
|
||||
return PhysicalFile(path, MimeTypes.GetMimeType(path), filename, true);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
|
|||
Loading…
Reference in a new issue