diff --git a/Teknik/Modules/PerformanceMonitorModule.cs b/Teknik/Modules/PerformanceMonitorModule.cs index 45653a9..85d0813 100644 --- a/Teknik/Modules/PerformanceMonitorModule.cs +++ b/Teknik/Modules/PerformanceMonitorModule.cs @@ -28,7 +28,7 @@ namespace Teknik.Modules timer.Stop(); // Don't interfere with non-HTML responses - if (requestContext.Response.ContentType == "text/html") + if (requestContext.Response.ContentType == "text/html" && requestContext.Response.StatusCode == 200) { Uri requestUrl = requestContext.Request.Url;