The Free Software Media System - Server Backend & API
Update Emby.Server.Implementations/SocketSharp/WebSocketSharpRequest.cs
Bond-00984c136b1f240
diff --git a/Emby.Server.Implementations/SocketSharp/WebSocketSharpRequest.cs b/Emby.Server.Implementations/SocketSharp/WebSocketSharpRequest.csindex a1d41c8958..081f61ef93 100644--- a/Emby.Server.Implementations/SocketSharp/WebSocketSharpRequest.cs+++ b/Emby.Server.Implementations/SocketSharp/WebSocketSharpRequest.cs@@ -122,7 +122,7 @@ namespace Emby.Server.Implementations.SocketSharpreturn specifiedContentType;}- const string ServerDefaultContentType = "application/json";+ const string ServerDefaultContentType = MediaTypeNames.Application.Json;var acceptContentTypes = httpReq.Headers.GetCommaSeparatedValues(HeaderNames.Accept);string defaultContentType = null;