diff options
| author | Claus Vium <clausvium@gmail.com> | 2019-03-05 20:48:04 +0100 |
|---|---|---|
| committer | Claus Vium <clausvium@gmail.com> | 2019-03-05 20:48:04 +0100 |
| commit | 446f9bf81fa3ac737acda71d57fdc7289c227cef (patch) | |
| tree | b0482e6a7c7906e6365c7133510cd91020b891ac /Emby.Server.Implementations/HttpServer/RangeRequestWriter.cs | |
| parent | 913e80fd5527775ea71d6f9606f49c5494cb7b63 (diff) | |
Remove more Content-Length references
Diffstat (limited to 'Emby.Server.Implementations/HttpServer/RangeRequestWriter.cs')
| -rw-r--r-- | Emby.Server.Implementations/HttpServer/RangeRequestWriter.cs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/HttpServer/RangeRequestWriter.cs b/Emby.Server.Implementations/HttpServer/RangeRequestWriter.cs index a0bfe5d8f..449159834 100644 --- a/Emby.Server.Implementations/HttpServer/RangeRequestWriter.cs +++ b/Emby.Server.Implementations/HttpServer/RangeRequestWriter.cs @@ -96,7 +96,6 @@ namespace Emby.Server.Implementations.HttpServer RangeStart = requestedRange.Key; RangeLength = 1 + RangeEnd - RangeStart; - // Content-Length is the length of what we're serving, not the original content Headers[HeaderNames.ContentRange] = $"bytes {RangeStart}-{RangeEnd}/{TotalContentLength}"; if (RangeStart > 0 && SourceStream.CanSeek) |
