aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Server.Implementations/HttpServer
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2016-01-14 16:41:23 -0500
committerLuke Pulverenti <luke.pulverenti@gmail.com>2016-01-15 12:29:38 -0500
commit7fe2809483a03b431f680629dc9370a852313fab (patch)
treeff4eb6fe7e9f0de5ad568b1feea1c2a0e580b409 /MediaBrowser.Server.Implementations/HttpServer
parent3e1058995c18058870104ef819774f3015864beb (diff)
xbox 360 dlna fixes
Diffstat (limited to 'MediaBrowser.Server.Implementations/HttpServer')
-rw-r--r--MediaBrowser.Server.Implementations/HttpServer/ResponseFilter.cs5
1 files changed, 4 insertions, 1 deletions
diff --git a/MediaBrowser.Server.Implementations/HttpServer/ResponseFilter.cs b/MediaBrowser.Server.Implementations/HttpServer/ResponseFilter.cs
index 0da34efc6..4ef9d5277 100644
--- a/MediaBrowser.Server.Implementations/HttpServer/ResponseFilter.cs
+++ b/MediaBrowser.Server.Implementations/HttpServer/ResponseFilter.cs
@@ -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;