48 instantiations of RangeItemHeaderValue
Microsoft.AspNetCore.Http.Results (1)
Microsoft.AspNetCore.Mvc.Core (1)
Microsoft.AspNetCore.StaticAssets (1)
Microsoft.AspNetCore.StaticFiles (1)
Microsoft.AspNetCore.StaticFiles.FunctionalTests (1)
Microsoft.AspNetCore.StaticFiles.Tests (4)
Microsoft.Net.Http.Headers (2)
Microsoft.Net.Http.Headers.Tests (37)
87 references to RangeItemHeaderValue
Microsoft.AspNetCore.Http.Results (13)
src\Shared\ResultsHelpers\FileResultHelper.cs (5)
29internal static async Task WriteFileAsync(HttpContext context, Stream fileStream, RangeItemHeaderValue? range, long rangeLength)
56internal static async Task WriteFileAsync(HttpContext context, ReadOnlyMemory<byte> buffer, RangeItemHeaderValue? range, long rangeLength)
90internal static (RangeItemHeaderValue? range, long rangeLength, bool serveBody) SetHeadersAndLog(
286private static (RangeItemHeaderValue? range, long rangeLength, bool serveBody) SetRangeHeaders(
334private static long SetContentLength(HttpResponse response, RangeItemHeaderValue range)
Microsoft.AspNetCore.Mvc.Core (22)
src\Shared\ResultsHelpers\FileResultHelper.cs (5)
29internal static async Task WriteFileAsync(HttpContext context, Stream fileStream, RangeItemHeaderValue? range, long rangeLength)
56internal static async Task WriteFileAsync(HttpContext context, ReadOnlyMemory<byte> buffer, RangeItemHeaderValue? range, long rangeLength)
90internal static (RangeItemHeaderValue? range, long rangeLength, bool serveBody) SetHeadersAndLog(
286private static (RangeItemHeaderValue? range, long rangeLength, bool serveBody) SetRangeHeaders(
334private static long SetContentLength(HttpResponse response, RangeItemHeaderValue range)
Microsoft.AspNetCore.StaticAssets (10)
StaticAssetsInvoker.cs (5)
204private async Task SendRangeAsync(StaticAssetInvocationContext requestContext, RangeItemHeaderValue? range)
244private ContentRangeHeaderValue ComputeContentRange(RangeItemHeaderValue range, out long start, out long length)
286public (PreconditionState, bool isRange, RangeItemHeaderValue? range) ComprehendRequestHeaders()
390private (bool isRangeRequest, RangeItemHeaderValue? range) ComputeRange()
402(var isRangeRequest, var range) = RangeHelper.ParseRange(_context, _requestHeaders, _length, _logger);
Microsoft.AspNetCore.StaticFiles (8)
Microsoft.AspNetCore.StaticFiles.FunctionalTests (5)
Microsoft.AspNetCore.StaticFiles.Tests (4)
Microsoft.Net.Http.Headers (12)
Microsoft.Net.Http.Headers.Tests (13)