14 references to EntityTag
Microsoft.AspNetCore.HeaderParsing.Tests (1)
ParserTests.cs (1)
344Assert.Equal("\"67ab43\"", result!.EntityTag!.Tag);
Microsoft.AspNetCore.Http.Results (3)
src\Shared\ResultsHelpers\FileResultHelper.cs (3)
184else if (etag != null && ifRange.EntityTag != null && !ifRange.EntityTag.Compare(etag, useStrongComparison: true)) 186Log.IfRangeETagPreconditionFailed(logger, etag, ifRange.EntityTag);
Microsoft.AspNetCore.Mvc.Core (3)
src\Shared\ResultsHelpers\FileResultHelper.cs (3)
184else if (etag != null && ifRange.EntityTag != null && !ifRange.EntityTag.Compare(etag, useStrongComparison: true)) 186Log.IfRangeETagPreconditionFailed(logger, etag, ifRange.EntityTag);
Microsoft.AspNetCore.StaticAssets (2)
StaticAssetsInvoker.cs (2)
381else if (_etag != null && ifRangeHeader.EntityTag != null && !ifRangeHeader.EntityTag.Compare(_etag, useStrongComparison: true))
Microsoft.AspNetCore.StaticFiles (2)
StaticFileContext.cs (2)
218else if (_etag != null && ifRangeHeader.EntityTag != null && !ifRangeHeader.EntityTag.Compare(_etag, useStrongComparison: true))
Microsoft.Net.Http.Headers.Tests (3)
RangeConditionHeaderValueTest.cs (3)
12Assert.Equal(new EntityTagHeaderValue("\"x\""), rangeCondition.EntityTag); 23Assert.Equal(new EntityTagHeaderValue("\"y\""), rangeCondition.EntityTag); 34Assert.Null(rangeCondition.EntityTag);