diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2016-01-14 16:41:23 -0500 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2016-01-15 12:29:38 -0500 |
| commit | 7fe2809483a03b431f680629dc9370a852313fab (patch) | |
| tree | ff4eb6fe7e9f0de5ad568b1feea1c2a0e580b409 /MediaBrowser.Server.Implementations/HttpServer | |
| parent | 3e1058995c18058870104ef819774f3015864beb (diff) | |
xbox 360 dlna fixes
Diffstat (limited to 'MediaBrowser.Server.Implementations/HttpServer')
| -rw-r--r-- | MediaBrowser.Server.Implementations/HttpServer/ResponseFilter.cs | 5 |
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; |
