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