39 references to Status308PermanentRedirect
Microsoft.AspNetCore.Http.Extensions (1)
ResponseExtensions.cs (1)
46
response.StatusCode = permanent ? StatusCodes.
Status308PermanentRedirect
: StatusCodes.Status307TemporaryRedirect;
Microsoft.AspNetCore.Http.Results (12)
RedirectHttpResult.cs (1)
112
? StatusCodes.
Status308PermanentRedirect
RedirectToRouteHttpResult.cs (1)
182
StatusCodes.
Status308PermanentRedirect
: StatusCodes.Status307TemporaryRedirect;
Results.cs (4)
489
/// <description>When <paramref name="permanent"/> and <paramref name="preserveMethod"/> are set, sets the <see cref="StatusCodes.
Status308PermanentRedirect
"/> status code.</description>
513
/// <description>When <paramref name="permanent"/> and <paramref name="preserveMethod"/> are set, sets the <see cref="StatusCodes.
Status308PermanentRedirect
"/> status code.</description>
537
/// <description>When <paramref name="permanent"/> and <paramref name="preserveMethod"/> are set, sets the <see cref="StatusCodes.
Status308PermanentRedirect
"/> status code.</description>
564
/// <description>When <paramref name="permanent"/> and <paramref name="preserveMethod"/> are set, sets the <see cref="StatusCodes.
Status308PermanentRedirect
"/> status code.</description>
ResultsCache.StatusCodes.cs (2)
108
StatusCodes.
Status308PermanentRedirect
=> _status308PermanentRedirect ??= new(StatusCodes.
Status308PermanentRedirect
),
TypedResults.cs (4)
558
/// <item><description>When <paramref name="permanent"/> and <paramref name="preserveMethod"/> are set, sets the <see cref="StatusCodes.
Status308PermanentRedirect
"/> status code.</description></item>
578
/// <item><description>When <paramref name="permanent"/> and <paramref name="preserveMethod"/> are set, sets the <see cref="StatusCodes.
Status308PermanentRedirect
"/> status code.</description></item>
598
/// <item><description>When <paramref name="permanent"/> and <paramref name="preserveMethod"/> are set, sets the <see cref="StatusCodes.
Status308PermanentRedirect
"/> status code.</description></item>
622
/// <item><description>When <paramref name="permanent"/> and <paramref name="preserveMethod"/> are set, sets the <see cref="StatusCodes.
Status308PermanentRedirect
"/> status code.</description></item>
Microsoft.AspNetCore.Mvc.Core (10)
ControllerBase.cs (5)
366
/// and <see cref="RedirectResult.PreserveMethod"/> set to true (<see cref="StatusCodes.
Status308PermanentRedirect
"/>)
425
/// (<see cref="StatusCodes.
Status308PermanentRedirect
"/>) using the specified <paramref name="localUrl"/>.
673
/// Redirects (<see cref="StatusCodes.
Status308PermanentRedirect
"/>) to the specified action with
854
/// Redirects (<see cref="StatusCodes.
Status308PermanentRedirect
"/>) to the specified route with
1035
/// Redirects (<see cref="StatusCodes.
Status308PermanentRedirect
"/>) to the specified route with
Infrastructure\LocalRedirectResultExecutor.cs (1)
55
StatusCodes.
Status308PermanentRedirect
: StatusCodes.Status307TemporaryRedirect;
Infrastructure\RedirectResultExecutor.cs (1)
52
StatusCodes.
Status308PermanentRedirect
: StatusCodes.Status307TemporaryRedirect;
Infrastructure\RedirectToActionResultExecutor.cs (1)
58
StatusCodes.
Status308PermanentRedirect
: StatusCodes.Status307TemporaryRedirect;
Infrastructure\RedirectToPageResultExecutor.cs (1)
58
StatusCodes.
Status308PermanentRedirect
: StatusCodes.Status307TemporaryRedirect;
Infrastructure\RedirectToRouteResultExecutor.cs (1)
54
StatusCodes.
Status308PermanentRedirect
: StatusCodes.Status307TemporaryRedirect;
Microsoft.AspNetCore.Mvc.RazorPages (10)
PageBase.cs (5)
448
/// (<see cref="StatusCodes.
Status308PermanentRedirect
"/>) using the specified <paramref name="localUrl"/>.
524
/// and <see cref="RedirectResult.PreserveMethod"/> set to true (<see cref="StatusCodes.
Status308PermanentRedirect
"/>)
730
/// Redirects (<see cref="StatusCodes.
Status308PermanentRedirect
"/>) to the specified action with
901
/// Redirects (<see cref="StatusCodes.
Status308PermanentRedirect
"/>) to the specified route with
1076
/// Redirects (<see cref="StatusCodes.
Status308PermanentRedirect
"/>) to the specified route with
PageModel.cs (5)
755
/// (<see cref="StatusCodes.
Status308PermanentRedirect
"/>) using the specified <paramref name="localUrl"/>.
853
/// and <see cref="RedirectResult.PreserveMethod"/> set to true (<see cref="StatusCodes.
Status308PermanentRedirect
"/>)
1060
/// Redirects (<see cref="StatusCodes.
Status308PermanentRedirect
"/>) to the specified action with
1229
/// Redirects (<see cref="StatusCodes.
Status308PermanentRedirect
"/>) to the specified route with
1428
/// Redirects (<see cref="StatusCodes.
Status308PermanentRedirect
"/>) to the specified route with
Microsoft.AspNetCore.Rewrite (4)
RewriteOptionsExtensions.cs (4)
128
return AddRedirectToWww(options, statusCode: StatusCodes.
Status308PermanentRedirect
);
139
return AddRedirectToWww(options, statusCode: StatusCodes.
Status308PermanentRedirect
, domains);
191
return AddRedirectToNonWww(options, statusCode: StatusCodes.
Status308PermanentRedirect
);
202
return AddRedirectToNonWww(options, statusCode: StatusCodes.
Status308PermanentRedirect
, domains);
Microsoft.AspNetCore.Server.Kestrel.Core (2)
Internal\Http\ReasonPhrases.cs (2)
36
private static readonly byte[] _bytesStatus308 = CreateStatusBytes(StatusCodes.
Status308PermanentRedirect
);
122
StatusCodes.
Status308PermanentRedirect
=> _bytesStatus308,