9 references to IfNoneMatch
aspire (1)
Mcp\Docs\DocsFetcher.cs (1)
47
request.Headers.
IfNoneMatch
.Add(new EntityTagHeaderValue(cachedETag));
Aspire.Cli.Tests (1)
Mcp\Docs\DocsFetcherTests.cs (1)
95
Assert.Contains("\"cached-etag\"", request.Headers.
IfNoneMatch
.ToString());
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 (3)
StaticAssetsIntegrationTests.cs (3)
952
req2.Headers.
IfNoneMatch
.Add(new EntityTagHeaderValue("\"fake\""));
957
req3.Headers.
IfNoneMatch
.Add(resp1.Headers.ETag);
962
req4.Headers.
IfNoneMatch
.Add(new EntityTagHeaderValue("\"fake\""));