19 references to EntityTagHeaderValue
Microsoft.AspNetCore.Mvc.FunctionalTests (12)
FileResultTests.cs (12)
229
httpRequestMessage.Headers.IfRange = new RangeConditionHeaderValue(new
EntityTagHeaderValue
("\"Etag\""));
249
httpRequestMessage.Headers.IfRange = new RangeConditionHeaderValue(new
EntityTagHeaderValue
("\"NotEtag\""));
281
httpRequestMessage.Headers.IfRange = new RangeConditionHeaderValue(new
EntityTagHeaderValue
("\"Etag\""));
450
httpRequestMessage.Headers.IfRange = new RangeConditionHeaderValue(new
EntityTagHeaderValue
("\"Etag\""));
470
httpRequestMessage.Headers.IfRange = new RangeConditionHeaderValue(new
EntityTagHeaderValue
("\"NotEtag\""));
500
httpRequestMessage.Headers.IfRange = new RangeConditionHeaderValue(new
EntityTagHeaderValue
("\"Etag\""));
654
httpRequestMessage.Headers.IfRange = new RangeConditionHeaderValue(new
EntityTagHeaderValue
("\"Etag\""));
674
httpRequestMessage.Headers.IfRange = new RangeConditionHeaderValue(new
EntityTagHeaderValue
("\"NotEtag\""));
706
httpRequestMessage.Headers.IfRange = new RangeConditionHeaderValue(new
EntityTagHeaderValue
("\"Etag\""));
804
httpRequestMessage.Headers.IfRange = new RangeConditionHeaderValue(new
EntityTagHeaderValue
("\"Etag\""));
827
httpRequestMessage.Headers.IfRange = new RangeConditionHeaderValue(new
EntityTagHeaderValue
("\"NotEtag\""));
910
httpRequestMessage.Headers.IfRange = new RangeConditionHeaderValue(new
EntityTagHeaderValue
("\"Etag\""));
Microsoft.AspNetCore.OutputCaching.Tests (2)
OutputCacheTests.cs (2)
760
client.DefaultRequestHeaders.IfNoneMatch.Add(new System.Net.Http.Headers.
EntityTagHeaderValue
("\"E1\""));
783
client.DefaultRequestHeaders.IfNoneMatch.Add(new System.Net.Http.Headers.
EntityTagHeaderValue
("\"E2\""));
Microsoft.AspNetCore.ResponseCaching.Tests (2)
ResponseCachingTests.cs (2)
711
client.DefaultRequestHeaders.IfNoneMatch.Add(new System.Net.Http.Headers.
EntityTagHeaderValue
("\"E1\""));
736
client.DefaultRequestHeaders.IfNoneMatch.Add(new System.Net.Http.Headers.
EntityTagHeaderValue
("\"E2\""));
Microsoft.AspNetCore.StaticAssets.Tests (2)
StaticAssetsIntegrationTests.cs (2)
830
req2.Headers.IfNoneMatch.Add(new
EntityTagHeaderValue
("\"fake\""));
840
req4.Headers.IfNoneMatch.Add(new
EntityTagHeaderValue
("\"fake\""));
System.Net.Http (1)
System\Net\Http\Headers\RangeConditionHeaderValue.cs (1)
32
: this(new
EntityTagHeaderValue
(entityTag))