mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
Update Emby.Server.Implementations/SocketSharp/WebSocketSharpRequest.cs
Co-Authored-By: Claus Vium <cvium@users.noreply.github.com>
This commit is contained in:
parent
6f45d95951
commit
84c136b1f2
@ -122,7 +122,7 @@ namespace Emby.Server.Implementations.SocketSharp
|
|||||||
return specifiedContentType;
|
return specifiedContentType;
|
||||||
}
|
}
|
||||||
|
|
||||||
const string ServerDefaultContentType = "application/json";
|
const string ServerDefaultContentType = MediaTypeNames.Application.Json;
|
||||||
|
|
||||||
var acceptContentTypes = httpReq.Headers.GetCommaSeparatedValues(HeaderNames.Accept);
|
var acceptContentTypes = httpReq.Headers.GetCommaSeparatedValues(HeaderNames.Accept);
|
||||||
string defaultContentType = null;
|
string defaultContentType = null;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user