65 references to Status416RangeNotSatisfiable
Microsoft.AspNetCore.Http.Results (16)
Results.cs (7)
281/// <see cref="StatusCodes.Status416RangeNotSatisfiable"/> if the range is not satisfiable). 306/// <see cref="StatusCodes.Status416RangeNotSatisfiable"/> if the range is not satisfiable). 331/// <see cref="StatusCodes.Status416RangeNotSatisfiable"/> if the range is not satisfiable). 354/// <see cref="StatusCodes.Status416RangeNotSatisfiable"/> if the range is not satisfiable). 385/// <see cref="StatusCodes.Status416RangeNotSatisfiable"/> if the range is not satisfiable). 416/// <see cref="StatusCodes.Status416RangeNotSatisfiable"/> if the range is not satisfiable). 463/// <see cref="StatusCodes.Status416RangeNotSatisfiable"/> if the range is not satisfiable).
src\Shared\ResultsHelpers\FileResultHelper.cs (1)
315response.StatusCode = StatusCodes.Status416RangeNotSatisfiable;
TypedResults.cs (8)
245/// <see cref="StatusCodes.Status416RangeNotSatisfiable"/> if the range is not satisfiable). 280/// <see cref="StatusCodes.Status416RangeNotSatisfiable"/> if the range is not satisfiable). 315/// <see cref="StatusCodes.Status416RangeNotSatisfiable"/> if the range is not satisfiable). 344/// <see cref="StatusCodes.Status416RangeNotSatisfiable"/> if the range is not satisfiable). 385/// <see cref="StatusCodes.Status416RangeNotSatisfiable"/> if the range is not satisfiable). 426/// <see cref="StatusCodes.Status416RangeNotSatisfiable"/> if the range is not satisfiable). 492/// <see cref="StatusCodes.Status416RangeNotSatisfiable"/> if the range is not satisfiable). 525/// <see cref="StatusCodes.Status416RangeNotSatisfiable"/> if the range is not satisfiable).
Microsoft.AspNetCore.Http.Results.Tests (7)
ProblemResultTests.cs (2)
206var result = Assert.IsAssignableFrom<IStatusCodeHttpResult>(new ProblemHttpResult(new() { Status = StatusCodes.Status416RangeNotSatisfiable })); 207Assert.Equal(StatusCodes.Status416RangeNotSatisfiable, result.StatusCode);
src\Shared\ResultsTests\FileContentResultTestBase.cs (1)
257Assert.Equal(StatusCodes.Status416RangeNotSatisfiable, httpResponse.StatusCode);
src\Shared\ResultsTests\FileStreamResultTestBase.cs (2)
247Assert.Equal(StatusCodes.Status416RangeNotSatisfiable, httpResponse.StatusCode); 363Assert.Equal(StatusCodes.Status416RangeNotSatisfiable, httpResponse.StatusCode);
src\Shared\ResultsTests\PhysicalFileResultTestBase.cs (1)
203Assert.Equal(StatusCodes.Status416RangeNotSatisfiable, httpResponse.StatusCode);
src\Shared\ResultsTests\VirtualFileResultTestBase.cs (1)
245Assert.Equal(StatusCodes.Status416RangeNotSatisfiable, httpResponse.StatusCode);
Microsoft.AspNetCore.Mvc.Core (33)
ControllerBase.cs (32)
1068/// <see cref="StatusCodes.Status416RangeNotSatisfiable"/> if the range is not satisfiable). 1081/// <see cref="StatusCodes.Status416RangeNotSatisfiable"/> if the range is not satisfiable). 1095/// <see cref="StatusCodes.Status416RangeNotSatisfiable"/> if the range is not satisfiable). 1109/// <see cref="StatusCodes.Status416RangeNotSatisfiable"/> if the range is not satisfiable). 1128/// <see cref="StatusCodes.Status416RangeNotSatisfiable"/> if the range is not satisfiable). 1149/// <see cref="StatusCodes.Status416RangeNotSatisfiable"/> if the range is not satisfiable). 1172/// <see cref="StatusCodes.Status416RangeNotSatisfiable"/> if the range is not satisfiable). 1195/// <see cref="StatusCodes.Status416RangeNotSatisfiable"/> if the range is not satisfiable). 1220/// <see cref="StatusCodes.Status416RangeNotSatisfiable"/> if the range is not satisfiable). 1236/// <see cref="StatusCodes.Status416RangeNotSatisfiable"/> if the range is not satisfiable). 1254/// <see cref="StatusCodes.Status416RangeNotSatisfiable"/> if the range is not satisfiable). 1272/// <see cref="StatusCodes.Status416RangeNotSatisfiable"/> if the range is not satisfiable). 1294/// <see cref="StatusCodes.Status416RangeNotSatisfiable"/> if the range is not satisfiable). 1318/// <see cref="StatusCodes.Status416RangeNotSatisfiable"/> if the range is not satisfiable). 1344/// <see cref="StatusCodes.Status416RangeNotSatisfiable"/> if the range is not satisfiable). 1370/// <see cref="StatusCodes.Status416RangeNotSatisfiable"/> if the range is not satisfiable). 1398/// <see cref="StatusCodes.Status416RangeNotSatisfiable"/> if the range is not satisfiable). 1411/// <see cref="StatusCodes.Status416RangeNotSatisfiable"/> if the range is not satisfiable). 1426/// <see cref="StatusCodes.Status416RangeNotSatisfiable"/> if the range is not satisfiable). 1441/// <see cref="StatusCodes.Status416RangeNotSatisfiable"/> if the range is not satisfiable). 1460/// <see cref="StatusCodes.Status416RangeNotSatisfiable"/> if the range is not satisfiable). 1481/// <see cref="StatusCodes.Status416RangeNotSatisfiable"/> if the range is not satisfiable). 1504/// <see cref="StatusCodes.Status416RangeNotSatisfiable"/> if the range is not satisfiable). 1527/// <see cref="StatusCodes.Status416RangeNotSatisfiable"/> if the range is not satisfiable). 1552/// <see cref="StatusCodes.Status416RangeNotSatisfiable"/> if the range is not satisfiable). 1565/// <see cref="StatusCodes.Status416RangeNotSatisfiable"/> if the range is not satisfiable). 1580/// <see cref="StatusCodes.Status416RangeNotSatisfiable"/> if the range is not satisfiable). 1598/// <see cref="StatusCodes.Status416RangeNotSatisfiable"/> if the range is not satisfiable). 1621/// <see cref="StatusCodes.Status416RangeNotSatisfiable"/> if the range is not satisfiable). 1642/// <see cref="StatusCodes.Status416RangeNotSatisfiable"/> if the range is not satisfiable). 1665/// <see cref="StatusCodes.Status416RangeNotSatisfiable"/> if the range is not satisfiable). 1688/// <see cref="StatusCodes.Status416RangeNotSatisfiable"/> if the range is not satisfiable).
src\Shared\ResultsHelpers\FileResultHelper.cs (1)
315response.StatusCode = StatusCodes.Status416RangeNotSatisfiable;
Microsoft.AspNetCore.Mvc.Core.Test (5)
src\Shared\ResultsTests\FileContentResultTestBase.cs (1)
257Assert.Equal(StatusCodes.Status416RangeNotSatisfiable, httpResponse.StatusCode);
src\Shared\ResultsTests\FileStreamResultTestBase.cs (2)
247Assert.Equal(StatusCodes.Status416RangeNotSatisfiable, httpResponse.StatusCode); 363Assert.Equal(StatusCodes.Status416RangeNotSatisfiable, httpResponse.StatusCode);
src\Shared\ResultsTests\PhysicalFileResultTestBase.cs (1)
203Assert.Equal(StatusCodes.Status416RangeNotSatisfiable, httpResponse.StatusCode);
src\Shared\ResultsTests\VirtualFileResultTestBase.cs (1)
245Assert.Equal(StatusCodes.Status416RangeNotSatisfiable, httpResponse.StatusCode);
Microsoft.AspNetCore.Server.Kestrel.Core (2)
Internal\Http\ReasonPhrases.cs (2)
54private static readonly byte[] _bytesStatus416 = CreateStatusBytes(StatusCodes.Status416RangeNotSatisfiable); 140StatusCodes.Status416RangeNotSatisfiable => _bytesStatus416,
Microsoft.AspNetCore.StaticAssets (1)
StaticAssetsInvoker.cs (1)
214requestContext.Response.StatusCode = StatusCodes.Status416RangeNotSatisfiable;
Microsoft.AspNetCore.StaticFiles (1)
StaticFileContext.cs (1)
374await ApplyResponseHeadersAsync(StatusCodes.Status416RangeNotSatisfiable);