aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/HttpServer/HttpListenerHost.cs
diff options
context:
space:
mode:
authorBond-009 <bond.009@outlook.com>2020-06-16 11:49:42 +0200
committerGitHub <noreply@github.com>2020-06-16 11:49:42 +0200
commit4d91060c25662774c6f57941c78fcb73df6fdefa (patch)
tree59110387f0253714dd575972c51ed0356fcc5f5b /Emby.Server.Implementations/HttpServer/HttpListenerHost.cs
parentebfd1e7c47c62e2aa3d4653af3f6622fc7544d19 (diff)
parentab3dece9f1160e6f08be12796a8a952e36213da5 (diff)
Merge pull request #3341 from telans/brace-spacing
Add newlines after closing braces (SA1513/SA1516)
Diffstat (limited to 'Emby.Server.Implementations/HttpServer/HttpListenerHost.cs')
-rw-r--r--Emby.Server.Implementations/HttpServer/HttpListenerHost.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/Emby.Server.Implementations/HttpServer/HttpListenerHost.cs b/Emby.Server.Implementations/HttpServer/HttpListenerHost.cs
index 1b6e4b554..e52acc548 100644
--- a/Emby.Server.Implementations/HttpServer/HttpListenerHost.cs
+++ b/Emby.Server.Implementations/HttpServer/HttpListenerHost.cs
@@ -453,6 +453,7 @@ namespace Emby.Server.Implementations.HttpServer
{
httpRes.Headers.Add(key, value);
}
+
httpRes.ContentType = "text/plain";
await httpRes.WriteAsync(string.Empty, cancellationToken).ConfigureAwait(false);
return;