mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-27 19:24:47 +03:00
Begin removing System.Net sources
This commit is contained in:
@@ -56,7 +56,7 @@ namespace Emby.Server.Implementations.HttpServer
|
||||
|
||||
if (source.CanSeek)
|
||||
{
|
||||
Headers["Content-Length"] = source.Length.ToString(UsCulture);
|
||||
// TODO Headers["Content-Length"] = source.Length.ToString(UsCulture);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -77,7 +77,7 @@ namespace Emby.Server.Implementations.HttpServer
|
||||
|
||||
Headers["Content-Type"] = contentType;
|
||||
|
||||
Headers["Content-Length"] = contentLength.ToString(UsCulture);
|
||||
// TODO Headers["Content-Length"] = contentLength.ToString(UsCulture);
|
||||
}
|
||||
|
||||
public async Task WriteToAsync(Stream responseStream, CancellationToken cancellationToken)
|
||||
|
||||
Reference in New Issue
Block a user