aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/HttpServer/HttpListenerHost.cs
diff options
context:
space:
mode:
authorBond-009 <bond.009@outlook.com>2019-04-20 12:25:29 +0200
committerGitHub <noreply@github.com>2019-04-20 12:25:29 +0200
commita8da122fb3c9c1f66f43da01099fb6aa86d554c6 (patch)
tree12fbf29535844df988492d06420beadab0ac190c /Emby.Server.Implementations/HttpServer/HttpListenerHost.cs
parent7bea62adbfc7350c01a222cb92c86c13c0b43412 (diff)
parent46c37c0ae8d5b5de02ff6f8208a7b91436f54237 (diff)
Merge pull request #1252 from jellyfin/release-10.3.z
Backmerge release 10.3.0
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 79b8f52d7..06d304077 100644
--- a/Emby.Server.Implementations/HttpServer/HttpListenerHost.cs
+++ b/Emby.Server.Implementations/HttpServer/HttpListenerHost.cs
@@ -201,6 +201,7 @@ namespace Emby.Server.Implementations.HttpServer
case DirectoryNotFoundException _:
case FileNotFoundException _:
case ResourceNotFoundException _: return 404;
+ case MethodNotAllowedException _: return 405;
case RemoteServiceUnavailableException _: return 502;
default: return 500;
}