From f31647481e9ce8745f80e76992617b953d64dbbd Mon Sep 17 00:00:00 2001 From: Rick Anderson <3605364+Rick-Anderson@users.noreply.github.com> Date: Tue, 27 Sep 2022 12:33:20 -1000 Subject: [PATCH] Update Program.cs --- fundamentals/middleware/problem-details-service/Program.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/fundamentals/middleware/problem-details-service/Program.cs b/fundamentals/middleware/problem-details-service/Program.cs index 1758600..b2aa895 100644 --- a/fundamentals/middleware/problem-details-service/Program.cs +++ b/fundamentals/middleware/problem-details-service/Program.cs @@ -276,7 +276,6 @@ else exceptionHandlerApp.Run(async context => { context.Response.StatusCode = StatusCodes.Status500InternalServerError; - context.Response.ContentType = Text.Plain; var title = "Bad Input";