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

Co-Authored-By: Claus Vium <cvium@users.noreply.github.com>
pull/2073/head
Bond-009 5 years ago committed by GitHub
parent 6f45d95951
commit 84c136b1f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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;

Loading…
Cancel
Save