Explorar el Código

remove X-Powered-By header

Luke Pulverenti hace 9 años
padre
commit
ce26f24ec7

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

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