xbox 360 dlna fixes

This commit is contained in:
Luke Pulverenti
2016-01-14 16:41:23 -05:00
parent d4161f6bab
commit 31f137500d
4 changed files with 15 additions and 9 deletions

View File

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