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