diff options
| author | Bond-009 <bond.009@outlook.com> | 2019-04-25 07:27:37 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-04-25 07:27:37 +0200 |
| commit | 61d7bed18145cd8b56b748a87b9398fb75332044 (patch) | |
| tree | b48499b493aaec6ffdc538c297f865e5259e5063 /Emby.Server.Implementations/HttpServer/HttpListenerHost.cs | |
| parent | a0e61ee67f56a6f2735c3f3e8f97e3da794c0c1a (diff) | |
| parent | 28c2ac528d46ba97b920d37300fa814bd6f4a51a (diff) | |
Merge pull request #1304 from jellyfin/release-10.3.z
Backmerge 10.3.1
Diffstat (limited to 'Emby.Server.Implementations/HttpServer/HttpListenerHost.cs')
| -rw-r--r-- | Emby.Server.Implementations/HttpServer/HttpListenerHost.cs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Emby.Server.Implementations/HttpServer/HttpListenerHost.cs b/Emby.Server.Implementations/HttpServer/HttpListenerHost.cs index 06d304077..b3d2b9cc2 100644 --- a/Emby.Server.Implementations/HttpServer/HttpListenerHost.cs +++ b/Emby.Server.Implementations/HttpServer/HttpListenerHost.cs @@ -626,6 +626,7 @@ namespace Emby.Server.Implementations.HttpServer private static Task Write(IResponse response, string text) { var bOutput = Encoding.UTF8.GetBytes(text); + response.OriginalResponse.ContentLength = bOutput.Length; return response.OutputStream.WriteAsync(bOutput, 0, bOutput.Length); } |
