aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/SocketSharp/WebSocketSharpRequest.cs
diff options
context:
space:
mode:
authorBond-009 <bond.009@outlook.com>2019-12-01 19:30:18 +0100
committerGitHub <noreply@github.com>2019-12-01 19:30:18 +0100
commit84c136b1f24096a726f41aaf89091206b76f9c00 (patch)
treebffa3a48d318edccf26662a58e8a33fd0ad21611 /Emby.Server.Implementations/SocketSharp/WebSocketSharpRequest.cs
parent6f45d959512be3c8114681f819fdb1e2db1e978c (diff)
Update Emby.Server.Implementations/SocketSharp/WebSocketSharpRequest.cs
Co-Authored-By: Claus Vium <cvium@users.noreply.github.com>
Diffstat (limited to 'Emby.Server.Implementations/SocketSharp/WebSocketSharpRequest.cs')
-rw-r--r--Emby.Server.Implementations/SocketSharp/WebSocketSharpRequest.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/SocketSharp/WebSocketSharpRequest.cs b/Emby.Server.Implementations/SocketSharp/WebSocketSharpRequest.cs
index a1d41c895..081f61ef9 100644
--- a/Emby.Server.Implementations/SocketSharp/WebSocketSharpRequest.cs
+++ b/Emby.Server.Implementations/SocketSharp/WebSocketSharpRequest.cs
@@ -122,7 +122,7 @@ namespace Emby.Server.Implementations.SocketSharp
return specifiedContentType;
}
- const string ServerDefaultContentType = "application/json";
+ const string ServerDefaultContentType = MediaTypeNames.Application.Json;
var acceptContentTypes = httpReq.Headers.GetCommaSeparatedValues(HeaderNames.Accept);
string defaultContentType = null;