12 references to ResponseHeaderPrefix
Microsoft.AspNetCore.Diagnostics.Middleware (2)
Logging\HttpLoggingRedactionInterceptor.cs (1)
59
_responseHeadersReader = new(optionsValue.ResponseHeadersDataClasses, redactorProvider, HttpLoggingTagNames.
ResponseHeaderPrefix
);
Logging\HttpLoggingTagNames.cs (1)
71
ResponseHeaderPrefix
,
Microsoft.AspNetCore.Diagnostics.Middleware.Tests (10)
Logging\AcceptanceTests.cs (10)
188
Assert.DoesNotContain(state, x => x.Key.StartsWith(HttpLoggingTagNames.
ResponseHeaderPrefix
));
248
Assert.DoesNotContain(state, x => x.Key.StartsWith(HttpLoggingTagNames.
ResponseHeaderPrefix
));
317
Assert.DoesNotContain(requestState, x => x.Key.StartsWith(HttpLoggingTagNames.
ResponseHeaderPrefix
));
330
Assert.Single(responseState, x => x.Key == HttpLoggingTagNames.
ResponseHeaderPrefix
+ NormalizedResponseHeader);
376
Assert.Single(state, x => x.Key == HttpLoggingTagNames.
ResponseHeaderPrefix
+ NormalizedResponseHeader);
391
x.Key.StartsWith(HttpLoggingTagNames.
ResponseHeaderPrefix
) && !x.Key.EndsWith(NormalizedResponseHeader));
427
Assert.DoesNotContain(state, x => x.Key.StartsWith(HttpLoggingTagNames.
ResponseHeaderPrefix
));
581
Assert.DoesNotContain(state, x => x.Key.StartsWith(HttpLoggingTagNames.
ResponseHeaderPrefix
));
622
Assert.DoesNotContain(state, x => x.Key.StartsWith(HttpLoggingTagNames.
ResponseHeaderPrefix
));
656
Assert.DoesNotContain(state, x => x.Key.StartsWith(HttpLoggingTagNames.
ResponseHeaderPrefix
));