mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-30 04:34:49 +03:00
update response stream parsing
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user