10 references to RequestHeaders
HttpLogging.Sample (1)
SampleHttpLoggingInterceptor.cs (1)
29
if (logContext.TryDisable(HttpLoggingFields.
RequestHeaders
))
Microsoft.AspNetCore.Diagnostics.Middleware (1)
Logging\HttpLoggingRedactionInterceptor.cs (1)
127
if (logContext.TryDisable(HttpLoggingFields.
RequestHeaders
))
Microsoft.AspNetCore.HttpLogging (3)
HttpLoggingFields.cs (2)
156
/// Includes <see cref="RequestProperties"/> and <see cref="
RequestHeaders
"/>
162
RequestPropertiesAndHeaders = RequestProperties |
RequestHeaders
,
HttpLoggingMiddleware.cs (1)
138
if (loggingFields.HasFlag(HttpLoggingFields.
RequestHeaders
))
Microsoft.AspNetCore.HttpLogging.Tests (5)
HttpLoggingMiddlewareTests.cs (5)
212
options.CurrentValue.LoggingFields = HttpLoggingFields.
RequestHeaders
;
1791
requestContext.Disable(HttpLoggingFields.
RequestHeaders
);
1795
Assert.Equal(HttpLoggingFields.All & ~HttpLoggingFields.
RequestHeaders
, responseContext.LoggingFields);
1881
requestContext.Disable(HttpLoggingFields.
RequestHeaders
);
1885
Assert.Equal(HttpLoggingFields.All & ~HttpLoggingFields.
RequestHeaders
, responseContext.LoggingFields);