mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-08 10:44:23 -04:00
Merge branch 'master' of https://github.com/MediaBrowser/MediaBrowser
This commit is contained in:
commit
b68d22e4ac
@ -270,7 +270,12 @@ namespace MediaBrowser.Server.Implementations.HttpServer
|
|||||||
}
|
}
|
||||||
|
|
||||||
httpListenerResponse.ContentLength64 = stream.Length;
|
httpListenerResponse.ContentLength64 = stream.Length;
|
||||||
return new StreamWriter(stream, Logger);
|
return headersOnly ? null : new StreamWriter(stream, Logger);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (headersOnly)
|
||||||
|
{
|
||||||
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
string content;
|
string content;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user