13 references to ResponseHeaderPrefix
Microsoft.AspNetCore.Diagnostics.Middleware (2)
Logging\HttpLoggingRedactionInterceptor.cs (1)
60
_responseHeadersReader = new(optionsValue.ResponseHeadersDataClasses, redactorProvider, HttpLoggingTagNames.
ResponseHeaderPrefix
);
Logging\HttpLoggingTagNames.cs (1)
71
ResponseHeaderPrefix
,
Microsoft.AspNetCore.Diagnostics.Middleware.Tests (11)
Logging\AcceptanceTests.cs (11)
232
Assert.DoesNotContain(state, x => x.Key.StartsWith(HttpLoggingTagNames.
ResponseHeaderPrefix
));
292
Assert.DoesNotContain(state, x => x.Key.StartsWith(HttpLoggingTagNames.
ResponseHeaderPrefix
));
345
Assert.DoesNotContain(state, x => x.Key.StartsWith(HttpLoggingTagNames.
ResponseHeaderPrefix
));
403
Assert.DoesNotContain(requestState, x => x.Key.StartsWith(HttpLoggingTagNames.
ResponseHeaderPrefix
));
416
Assert.Single(responseState, x => x.Key == HttpLoggingTagNames.
ResponseHeaderPrefix
+ NormalizedResponseHeader);
462
Assert.Single(state, x => x.Key == HttpLoggingTagNames.
ResponseHeaderPrefix
+ NormalizedResponseHeader);
477
x.Key.StartsWith(HttpLoggingTagNames.
ResponseHeaderPrefix
) && !x.Key.EndsWith(NormalizedResponseHeader));
513
Assert.DoesNotContain(state, x => x.Key.StartsWith(HttpLoggingTagNames.
ResponseHeaderPrefix
));
667
Assert.DoesNotContain(state, x => x.Key.StartsWith(HttpLoggingTagNames.
ResponseHeaderPrefix
));
708
Assert.DoesNotContain(state, x => x.Key.StartsWith(HttpLoggingTagNames.
ResponseHeaderPrefix
));
742
Assert.DoesNotContain(state, x => x.Key.StartsWith(HttpLoggingTagNames.
ResponseHeaderPrefix
));