3 implementations of AcceptRanges
Microsoft.AspNetCore.Server.Kestrel.Core (3)
Internal\Http\HttpHeaders.Generated.cs (3)
1801StringValues IHeaderDictionary.AcceptRanges 8932StringValues IHeaderDictionary.AcceptRanges 15690StringValues IHeaderDictionary.AcceptRanges
8 writes to AcceptRanges
Microsoft.AspNetCore.Http.Results (1)
src\Shared\ResultsHelpers\FileResultHelper.cs (1)
373response.Headers.AcceptRanges = AcceptRangeHeaderValue;
Microsoft.AspNetCore.Mvc.Core (1)
src\Shared\ResultsHelpers\FileResultHelper.cs (1)
373response.Headers.AcceptRanges = AcceptRangeHeaderValue;
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (2)
Http2\Http2HeadersEnumeratorTests.cs (1)
24responseHeaders.AcceptRanges = "AcceptRanges!";
Http3\Http3HeadersEnumeratorTests.cs (1)
24responseHeaders.AcceptRanges = "AcceptRanges!";
Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks (2)
Http2\HPackHeaderWriterBenchmark.cs (1)
35knownHeaders.AcceptRanges = "Ranges!";
Http3\QPackDecoderBenchmark.cs (1)
41((IHeaderDictionary)headers).AcceptRanges = "bytes";
Microsoft.AspNetCore.StaticAssets (1)
StaticAssetsInvoker.cs (1)
103responseHeaders.Headers.AcceptRanges = "bytes";
Microsoft.AspNetCore.StaticFiles (1)
StaticFileContext.cs (1)
262responseHeaders.Headers.AcceptRanges = "bytes";
31 references to AcceptRanges
Microsoft.AspNetCore.Http.Results.Tests (15)
src\Shared\ResultsTests\FileContentResultTestBase.cs (3)
84Assert.Equal("bytes", httpResponse.Headers.AcceptRanges); 123Assert.Equal("bytes", httpResponse.Headers.AcceptRanges); 258Assert.Equal("bytes", httpResponse.Headers.AcceptRanges);
src\Shared\ResultsTests\FileStreamResultTestBase.cs (4)
63Assert.Equal("bytes", httpResponse.Headers.AcceptRanges); 104Assert.Equal("bytes", httpResponse.Headers.AcceptRanges); 248Assert.Equal("bytes", httpResponse.Headers.AcceptRanges); 364Assert.Equal("bytes", httpResponse.Headers.AcceptRanges);
src\Shared\ResultsTests\PhysicalFileResultTestBase.cs (4)
56Assert.Equal("bytes", httpResponse.Headers.AcceptRanges); 86Assert.Equal("bytes", httpResponse.Headers.AcceptRanges); 204Assert.Equal("bytes", httpResponse.Headers.AcceptRanges); 316Assert.Equal("bytes", httpResponse.Headers.AcceptRanges);
src\Shared\ResultsTests\VirtualFileResultTestBase.cs (4)
68Assert.Equal("bytes", httpResponse.Headers.AcceptRanges); 104Assert.Equal("bytes", httpResponse.Headers.AcceptRanges); 246Assert.Equal("bytes", httpResponse.Headers.AcceptRanges); 351Assert.Equal("bytes", httpResponse.Headers.AcceptRanges);
Microsoft.AspNetCore.Mvc.Core.Test (16)
FileResultHelperTest.cs (1)
234Assert.Equal("bytes", httpContext.Response.Headers.AcceptRanges);
src\Shared\ResultsTests\FileContentResultTestBase.cs (3)
84Assert.Equal("bytes", httpResponse.Headers.AcceptRanges); 123Assert.Equal("bytes", httpResponse.Headers.AcceptRanges); 258Assert.Equal("bytes", httpResponse.Headers.AcceptRanges);
src\Shared\ResultsTests\FileStreamResultTestBase.cs (4)
63Assert.Equal("bytes", httpResponse.Headers.AcceptRanges); 104Assert.Equal("bytes", httpResponse.Headers.AcceptRanges); 248Assert.Equal("bytes", httpResponse.Headers.AcceptRanges); 364Assert.Equal("bytes", httpResponse.Headers.AcceptRanges);
src\Shared\ResultsTests\PhysicalFileResultTestBase.cs (4)
56Assert.Equal("bytes", httpResponse.Headers.AcceptRanges); 86Assert.Equal("bytes", httpResponse.Headers.AcceptRanges); 204Assert.Equal("bytes", httpResponse.Headers.AcceptRanges); 316Assert.Equal("bytes", httpResponse.Headers.AcceptRanges);
src\Shared\ResultsTests\VirtualFileResultTestBase.cs (4)
68Assert.Equal("bytes", httpResponse.Headers.AcceptRanges); 104Assert.Equal("bytes", httpResponse.Headers.AcceptRanges); 246Assert.Equal("bytes", httpResponse.Headers.AcceptRanges); 351Assert.Equal("bytes", httpResponse.Headers.AcceptRanges);