26 writes to IfRange
Microsoft.AspNetCore.Http.Results.Tests (12)
src\Shared\ResultsTests\FileContentResultTestBase.cs (3)
107requestHeaders.IfRange = new RangeConditionHeaderValue(DateTimeOffset.MinValue); 146requestHeaders.IfRange = new RangeConditionHeaderValue(new EntityTagHeaderValue("\"Etag\"")); 180requestHeaders.IfRange = new RangeConditionHeaderValue(new EntityTagHeaderValue("\"NotEtag\""));
src\Shared\ResultsTests\FileStreamResultTestBase.cs (3)
88requestHeaders.IfRange = new RangeConditionHeaderValue(new EntityTagHeaderValue("\"Etag\"")); 129requestHeaders.IfRange = new RangeConditionHeaderValue(DateTimeOffset.MinValue); 166requestHeaders.IfRange = new RangeConditionHeaderValue(DateTimeOffset.MinValue);
src\Shared\ResultsTests\PhysicalFileResultTestBase.cs (3)
77requestHeaders.IfRange = new RangeConditionHeaderValue(new EntityTagHeaderValue("\"Etag\"")); 109requestHeaders.IfRange = new RangeConditionHeaderValue(new EntityTagHeaderValue("\"Etag\"")); 136requestHeaders.IfRange = new RangeConditionHeaderValue(new EntityTagHeaderValue("\"NotEtag\""));
src\Shared\ResultsTests\VirtualFileResultTestBase.cs (3)
95requestHeaders.IfRange = new RangeConditionHeaderValue(new EntityTagHeaderValue("\"Etag\"")); 132requestHeaders.IfRange = new RangeConditionHeaderValue(new EntityTagHeaderValue("\"Etag\"")); 165requestHeaders.IfRange = new RangeConditionHeaderValue(new EntityTagHeaderValue("\"NotEtag\""));
Microsoft.AspNetCore.Mvc.Core.Test (14)
FileResultHelperTest.cs (2)
262httpRequestHeaders.IfRange = ifRange == null ? null : new RangeConditionHeaderValue(ifRange); 367httpRequestHeaders.IfRange = new RangeConditionHeaderValue(ifRangeString);
src\Shared\ResultsTests\FileContentResultTestBase.cs (3)
107requestHeaders.IfRange = new RangeConditionHeaderValue(DateTimeOffset.MinValue); 146requestHeaders.IfRange = new RangeConditionHeaderValue(new EntityTagHeaderValue("\"Etag\"")); 180requestHeaders.IfRange = new RangeConditionHeaderValue(new EntityTagHeaderValue("\"NotEtag\""));
src\Shared\ResultsTests\FileStreamResultTestBase.cs (3)
88requestHeaders.IfRange = new RangeConditionHeaderValue(new EntityTagHeaderValue("\"Etag\"")); 129requestHeaders.IfRange = new RangeConditionHeaderValue(DateTimeOffset.MinValue); 166requestHeaders.IfRange = new RangeConditionHeaderValue(DateTimeOffset.MinValue);
src\Shared\ResultsTests\PhysicalFileResultTestBase.cs (3)
77requestHeaders.IfRange = new RangeConditionHeaderValue(new EntityTagHeaderValue("\"Etag\"")); 109requestHeaders.IfRange = new RangeConditionHeaderValue(new EntityTagHeaderValue("\"Etag\"")); 136requestHeaders.IfRange = new RangeConditionHeaderValue(new EntityTagHeaderValue("\"NotEtag\""));
src\Shared\ResultsTests\VirtualFileResultTestBase.cs (3)
95requestHeaders.IfRange = new RangeConditionHeaderValue(new EntityTagHeaderValue("\"Etag\"")); 132requestHeaders.IfRange = new RangeConditionHeaderValue(new EntityTagHeaderValue("\"Etag\"")); 165requestHeaders.IfRange = new RangeConditionHeaderValue(new EntityTagHeaderValue("\"NotEtag\""));
4 references to IfRange
Microsoft.AspNetCore.Http.Results (1)
src\Shared\ResultsHelpers\FileResultHelper.cs (1)
168var ifRange = httpRequestHeaders.IfRange;
Microsoft.AspNetCore.Mvc.Core (1)
src\Shared\ResultsHelpers\FileResultHelper.cs (1)
168var ifRange = httpRequestHeaders.IfRange;
Microsoft.AspNetCore.StaticAssets (1)
StaticAssetsInvoker.cs (1)
366var ifRangeHeader = _requestHeaders.IfRange;
Microsoft.AspNetCore.StaticFiles (1)
StaticFileContext.cs (1)
203var ifRangeHeader = RequestHeaders.IfRange;