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