mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-10-23 17:22:51 +00:00
update response stream parsing
This commit is contained in:
parent
4a548f3081
commit
56b24da151
7 changed files with 32 additions and 9 deletions
|
|
@ -130,7 +130,7 @@ namespace ServiceStack
|
|||
{
|
||||
foreach (var responseHeaders in responseOptions.Headers)
|
||||
{
|
||||
if (responseHeaders.Key == "Content-Length")
|
||||
if (string.Equals(responseHeaders.Key, "Content-Length", StringComparison.OrdinalIgnoreCase))
|
||||
{
|
||||
response.SetContentLength(long.Parse(responseHeaders.Value));
|
||||
continue;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue