1 write to _fileLength
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (1)
ResponseCachingTests.cs (1)
26
_fileLength
= new FileInfo(_absoluteFilePath).Length;
2 references to _fileLength
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (2)
ResponseCachingTests.cs (2)
396
httpContext.Response.ContentLength =
_fileLength
;
475
Assert.Equal(
_fileLength
, response.Content.Headers.ContentLength);