From a668f4e1c08f5af7a3d5c9d42c222ac6df9a7ee6 Mon Sep 17 00:00:00 2001 From: Chris R Date: Mon, 15 Jun 2015 18:29:20 -0700 Subject: [PATCH] React to HttpResponse.HeadersSent rename. --- .../ErrorReporterMiddleware.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/WebSites/Microsoft.AspNet.Mvc.TestConfiguration/ErrorReporterMiddleware.cs b/test/WebSites/Microsoft.AspNet.Mvc.TestConfiguration/ErrorReporterMiddleware.cs index 6a946320dd..26337bd037 100644 --- a/test/WebSites/Microsoft.AspNet.Mvc.TestConfiguration/ErrorReporterMiddleware.cs +++ b/test/WebSites/Microsoft.AspNet.Mvc.TestConfiguration/ErrorReporterMiddleware.cs @@ -32,7 +32,7 @@ namespace Microsoft.AspNet.Mvc.TestConfiguration } catch (Exception exception) { - if (context.Response.HeadersSent) + if (context.Response.HasStarted) { throw; } @@ -48,4 +48,4 @@ namespace Microsoft.AspNet.Mvc.TestConfiguration } } } -} \ No newline at end of file +}