Browse Source

Update Emby.Server.Implementations/SocketSharp/WebSocketSharpRequest.cs

Co-Authored-By: Claus Vium <cvium@users.noreply.github.com>
Bond-009 5 năm trước cách đây
mục cha
commit
84c136b1f2

+ 1 - 1
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;