aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/HttpServer/HttpListenerHost.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2016-11-13 16:04:21 -0500
committerLuke Pulverenti <luke.pulverenti@gmail.com>2016-11-13 16:04:21 -0500
commit0e9cd51f9c64d4cfad5cb5c7b0ddae6af8d18ac6 (patch)
tree359ef5fb2504ed72e03a51a2e90a1017309143f0 /Emby.Server.Implementations/HttpServer/HttpListenerHost.cs
parent3c55747cd63fd8a69f02efbe9ac48ce76d373b81 (diff)
update .net core startup
Diffstat (limited to 'Emby.Server.Implementations/HttpServer/HttpListenerHost.cs')
-rw-r--r--Emby.Server.Implementations/HttpServer/HttpListenerHost.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/Emby.Server.Implementations/HttpServer/HttpListenerHost.cs b/Emby.Server.Implementations/HttpServer/HttpListenerHost.cs
index 41b7a4622..876d140ec 100644
--- a/Emby.Server.Implementations/HttpServer/HttpListenerHost.cs
+++ b/Emby.Server.Implementations/HttpServer/HttpListenerHost.cs
@@ -396,6 +396,8 @@ namespace Emby.Server.Implementations.HttpServer
if (_disposed)
{
httpRes.StatusCode = 503;
+ httpRes.ContentType = "text/plain";
+ Write(httpRes, "Server shutting down");
return;
}