9 references to RangeConditionHeaderValue
Microsoft.AspNetCore.Http.Extensions.Tests (1)
HeaderDictionaryTypeExtensionsTest.cs (1)
75
var expected = new
RangeConditionHeaderValue
("\"etag1\"");
Microsoft.AspNetCore.Mvc.Core.Test (2)
FileResultHelperTest.cs (2)
262
httpRequestHeaders.IfRange = ifRange == null ? null : new
RangeConditionHeaderValue
(ifRange);
367
httpRequestHeaders.IfRange = new
RangeConditionHeaderValue
(ifRangeString);
Microsoft.Net.Http.Headers.Tests (6)
RangeConditionHeaderValueTest.cs (6)
22
var rangeCondition = new
RangeConditionHeaderValue
("\"y\"");
26
Assert.Throws<ArgumentException>(() => new
RangeConditionHeaderValue
((string?)null));
51
var rangeCondition1 = new
RangeConditionHeaderValue
("\"x\"");
72
var rangeCondition1 = new
RangeConditionHeaderValue
("\"x\"");
95
CheckValidParse(" \"x\" ", new
RangeConditionHeaderValue
("\"x\""));
126
CheckValidTryParse(" \"x\" ", new
RangeConditionHeaderValue
("\"x\""));