7 references to ResponseBody
Microsoft.AspNetCore.Diagnostics.Middleware (1)
Logging\HttpLoggingTagNames.cs (1)
73ResponseBody,
Microsoft.AspNetCore.Diagnostics.Middleware.Tests (6)
Logging\AcceptanceTests.cs (6)
199Assert.Single(state, x => x.Key == HttpLoggingTagNames.ResponseBody && x.Value == "Server: hello!Server: world!"); 204Assert.DoesNotContain(state, x => x.Key == HttpLoggingTagNames.ResponseBody); 246Assert.DoesNotContain(state, x => x.Key == HttpLoggingTagNames.ResponseBody); 386Assert.DoesNotContain(state, x => x.Key == HttpLoggingTagNames.ResponseBody); 425Assert.DoesNotContain(state, x => x.Key == HttpLoggingTagNames.ResponseBody); 625Assert.Single(state, x => x.Key == HttpLoggingTagNames.ResponseBody && x.Value == "test body");