Ver Fonte

remove X-Powered-By header

Luke Pulverenti há 9 anos atrás
pai
commit
ce26f24ec7

+ 1 - 0
MediaBrowser.Server.Implementations/HttpServer/HttpListenerHost.cs

@@ -81,6 +81,7 @@ namespace MediaBrowser.Server.Implementations.HttpServer
                 {typeof (ApplicationException), 500}
             };
 
+            HostConfig.Instance.GlobalResponseHeaders = new Dictionary<string, string>();
             HostConfig.Instance.DebugMode = false;
 
             HostConfig.Instance.LogFactory = LogManager.LogFactory;