1 instantiation of RequestHeaders
Microsoft.AspNetCore.Http.Extensions (1)
HeaderDictionaryTypeExtensions.cs (1)
27return new RequestHeaders(request.Headers);
96 references to RequestHeaders
Microsoft.AspNetCore.Diagnostics (1)
DeveloperExceptionPage\DeveloperExceptionPageMiddlewareImpl.cs (1)
202var headers = httpContext.Request.GetTypedHeaders();
Microsoft.AspNetCore.Http.Connections (1)
Internal\HttpConnectionDispatcher.cs (1)
131var headers = context.Request.GetTypedHeaders();
Microsoft.AspNetCore.Http.Extensions (3)
HeaderDictionaryTypeExtensions.cs (2)
24/// <returns>The <see cref="RequestHeaders"/>.</returns> 25public static RequestHeaders GetTypedHeaders(this HttpRequest request)
RequestHeaders.cs (1)
16/// Initializes a new instance of <see cref="RequestHeaders"/>.
Microsoft.AspNetCore.Http.Results (6)
src\Shared\RangeHelper\RangeHelper.cs (2)
26/// <param name="requestHeaders">The <see cref="RequestHeaders"/> associated with the given <paramref name="context"/>.</param> 36RequestHeaders requestHeaders,
src\Shared\ResultsHelpers\FileResultHelper.cs (4)
100var httpRequestHeaders = request.GetTypedHeaders(); 162RequestHeaders httpRequestHeaders, 195RequestHeaders httpRequestHeaders, 288RequestHeaders httpRequestHeaders,
Microsoft.AspNetCore.Http.Results.Tests (31)
src\Shared\ResultsTests\FileContentResultTestBase.cs (6)
62var requestHeaders = httpContext.Request.GetTypedHeaders(); 101var requestHeaders = httpContext.Request.GetTypedHeaders(); 140var requestHeaders = httpContext.Request.GetTypedHeaders(); 174var requestHeaders = httpContext.Request.GetTypedHeaders(); 274var requestHeaders = httpContext.Request.GetTypedHeaders(); 308var requestHeaders = httpContext.Request.GetTypedHeaders();
src\Shared\ResultsTests\FileStreamResultTestBase.cs (7)
40var requestHeaders = httpContext.Request.GetTypedHeaders(); 82var requestHeaders = httpContext.Request.GetTypedHeaders(); 123var requestHeaders = httpContext.Request.GetTypedHeaders(); 160var requestHeaders = httpContext.Request.GetTypedHeaders(); 266var requestHeaders = httpContext.Request.GetTypedHeaders(); 302var requestHeaders = httpContext.Request.GetTypedHeaders(); 343var requestHeaders = httpContext.Request.GetTypedHeaders();
src\Shared\ResultsTests\PhysicalFileResultTestBase.cs (9)
42var requestHeaders = httpContext.Request.GetTypedHeaders(); 74var requestHeaders = httpContext.Request.GetTypedHeaders(); 106var requestHeaders = httpContext.Request.GetTypedHeaders(); 133var requestHeaders = httpContext.Request.GetTypedHeaders(); 162var requestHeaders = httpContext.Request.GetTypedHeaders(); 188var requestHeaders = httpContext.Request.GetTypedHeaders(); 217var requestHeaders = httpContext.Request.GetTypedHeaders(); 244var requestHeaders = httpContext.Request.GetTypedHeaders(); 298var requestHeaders = httpContext.Request.GetTypedHeaders();
src\Shared\ResultsTests\VirtualFileResultTestBase.cs (9)
54var requestHeaders = httpContext.Request.GetTypedHeaders(); 92var requestHeaders = httpContext.Request.GetTypedHeaders(); 129var requestHeaders = httpContext.Request.GetTypedHeaders(); 162var requestHeaders = httpContext.Request.GetTypedHeaders(); 197var requestHeaders = httpContext.Request.GetTypedHeaders(); 230var requestHeaders = httpContext.Request.GetTypedHeaders(); 267var requestHeaders = httpContext.Request.GetTypedHeaders(); 298var requestHeaders = httpContext.Request.GetTypedHeaders(); 333var requestHeaders = httpContext.Request.GetTypedHeaders();
Microsoft.AspNetCore.Mvc.Core (6)
src\Shared\RangeHelper\RangeHelper.cs (2)
26/// <param name="requestHeaders">The <see cref="RequestHeaders"/> associated with the given <paramref name="context"/>.</param> 36RequestHeaders requestHeaders,
src\Shared\ResultsHelpers\FileResultHelper.cs (4)
100var httpRequestHeaders = request.GetTypedHeaders(); 162RequestHeaders httpRequestHeaders, 195RequestHeaders httpRequestHeaders, 288RequestHeaders httpRequestHeaders,
Microsoft.AspNetCore.Mvc.Core.Test (35)
FileResultHelperTest.cs (4)
249var httpRequestHeaders = httpContext.Request.GetTypedHeaders(); 290var httpRequestHeaders = httpContext.Request.GetTypedHeaders(); 327var httpRequestHeaders = httpContext.Request.GetTypedHeaders(); 363var httpRequestHeaders = httpContext.Request.GetTypedHeaders();
src\Shared\ResultsTests\FileContentResultTestBase.cs (6)
62var requestHeaders = httpContext.Request.GetTypedHeaders(); 101var requestHeaders = httpContext.Request.GetTypedHeaders(); 140var requestHeaders = httpContext.Request.GetTypedHeaders(); 174var requestHeaders = httpContext.Request.GetTypedHeaders(); 274var requestHeaders = httpContext.Request.GetTypedHeaders(); 308var requestHeaders = httpContext.Request.GetTypedHeaders();
src\Shared\ResultsTests\FileStreamResultTestBase.cs (7)
40var requestHeaders = httpContext.Request.GetTypedHeaders(); 82var requestHeaders = httpContext.Request.GetTypedHeaders(); 123var requestHeaders = httpContext.Request.GetTypedHeaders(); 160var requestHeaders = httpContext.Request.GetTypedHeaders(); 266var requestHeaders = httpContext.Request.GetTypedHeaders(); 302var requestHeaders = httpContext.Request.GetTypedHeaders(); 343var requestHeaders = httpContext.Request.GetTypedHeaders();
src\Shared\ResultsTests\PhysicalFileResultTestBase.cs (9)
42var requestHeaders = httpContext.Request.GetTypedHeaders(); 74var requestHeaders = httpContext.Request.GetTypedHeaders(); 106var requestHeaders = httpContext.Request.GetTypedHeaders(); 133var requestHeaders = httpContext.Request.GetTypedHeaders(); 162var requestHeaders = httpContext.Request.GetTypedHeaders(); 188var requestHeaders = httpContext.Request.GetTypedHeaders(); 217var requestHeaders = httpContext.Request.GetTypedHeaders(); 244var requestHeaders = httpContext.Request.GetTypedHeaders(); 298var requestHeaders = httpContext.Request.GetTypedHeaders();
src\Shared\ResultsTests\VirtualFileResultTestBase.cs (9)
54var requestHeaders = httpContext.Request.GetTypedHeaders(); 92var requestHeaders = httpContext.Request.GetTypedHeaders(); 129var requestHeaders = httpContext.Request.GetTypedHeaders(); 162var requestHeaders = httpContext.Request.GetTypedHeaders(); 197var requestHeaders = httpContext.Request.GetTypedHeaders(); 230var requestHeaders = httpContext.Request.GetTypedHeaders(); 267var requestHeaders = httpContext.Request.GetTypedHeaders(); 298var requestHeaders = httpContext.Request.GetTypedHeaders(); 333var requestHeaders = httpContext.Request.GetTypedHeaders();
Microsoft.AspNetCore.StaticAssets (5)
src\Shared\RangeHelper\RangeHelper.cs (2)
26/// <param name="requestHeaders">The <see cref="RequestHeaders"/> associated with the given <paramref name="context"/>.</param> 36RequestHeaders requestHeaders,
StaticAssetsInvoker.cs (3)
260private readonly RequestHeaders _requestHeaders; 300var requestHeaders = _requestHeaders; 339var requestHeaders = _requestHeaders;
Microsoft.AspNetCore.StaticFiles (6)
src\Shared\RangeHelper\RangeHelper.cs (2)
26/// <param name="requestHeaders">The <see cref="RequestHeaders"/> associated with the given <paramref name="context"/>.</param> 36RequestHeaders requestHeaders,
StaticFileContext.cs (4)
29private RequestHeaders? _requestHeaders; 87private RequestHeaders RequestHeaders => _requestHeaders ??= _request.GetTypedHeaders(); 145var requestHeaders = RequestHeaders; 180var requestHeaders = RequestHeaders;
Microsoft.AspNetCore.StaticFiles.FunctionalTests (2)
src\Shared\RangeHelper\RangeHelper.cs (2)
26/// <param name="requestHeaders">The <see cref="RequestHeaders"/> associated with the given <paramref name="context"/>.</param> 36RequestHeaders requestHeaders,