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