mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-23 09:14:45 +03:00
xbox 360 dlna fixes
This commit is contained in:
@@ -58,7 +58,10 @@ namespace MediaBrowser.Server.Implementations.HttpServer
|
||||
|
||||
if (hasOptions != null)
|
||||
{
|
||||
hasOptions.Options["Server"] = "Mono-HTTPAPI/1.1";
|
||||
if (!hasOptions.Options.ContainsKey("Server"))
|
||||
{
|
||||
hasOptions.Options["Server"] = "Mono-HTTPAPI/1.1, UPnP/1.0 DLNADOC/1.50";
|
||||
}
|
||||
|
||||
// Content length has to be explicitly set on on HttpListenerResponse or it won't be happy
|
||||
string contentLength;
|
||||
|
||||
Reference in New Issue
Block a user