StatusCodes Classe

Définition

Collection de constantes pour les codes status HTTP.

public ref class StatusCodes abstract sealed
public static class StatusCodes
type StatusCodes = class
Public Class StatusCodes
Héritage
StatusCodes

Remarques

Les descriptions des codes status sont disponibles à partir de Microsoft.AspNetCore.WebUtilities.ReasonPhrases.GetReasonPhrase(Int32).

Champs

Status100Continue

Http status code 100.

Status101SwitchingProtocols

Code HTTP status 101.

Status102Processing

Http status code 102.

Status200OK

Http status code 200.

Status201Created

Http status code 201.

Status202Accepted

Http status code 202.

Status203NonAuthoritative

CODE HTTP status 203.

Status204NoContent

Code http status 204.

Status205ResetContent

Code http status 205.

Status206PartialContent

Code HTTP status 206.

Status207MultiStatus

Code HTTP status 207.

Status208AlreadyReported

CODE HTTP status 208.

Status226IMUsed

Http status code 226.

Status300MultipleChoices

Code HTTP status 300.

Status301MovedPermanently

Code HTTP status 301.

Status302Found

Http status code 302.

Status303SeeOther

Code HTTP status 303.

Status304NotModified

Http status code 304.

Status305UseProxy

Http status code 305.

Status306SwitchProxy

Code HTTP status 306.

Status307TemporaryRedirect

Code http status 307.

Status308PermanentRedirect

Code http status 308.

Status400BadRequest

Http status code 400.

Status401Unauthorized

Code HTTP status 401.

Status402PaymentRequired

Http status code 402.

Status403Forbidden

Http status code 403.

Status404NotFound

Code HTTP status 404.

Status405MethodNotAllowed

Code HTTP status 405.

Status406NotAcceptable

Http status code 406.

Status407ProxyAuthenticationRequired

Http status code 407.

Status408RequestTimeout

Code HTTP status 408.

Status409Conflict

Http status code 409.

Status410Gone

Code HTTP status 410.

Status411LengthRequired

Code HTTP status 411.

Status412PreconditionFailed

Http status code 412.

Status413PayloadTooLarge

Code HTTP status 413.

Status413RequestEntityTooLarge

Code HTTP status 413.

Status414RequestUriTooLong

CODE HTTP status 414.

Status414UriTooLong

CODE HTTP status 414.

Status415UnsupportedMediaType

Http status code 415.

Status416RangeNotSatisfiable

Code HTTP status 416.

Status416RequestedRangeNotSatisfiable

Code HTTP status 416.

Status417ExpectationFailed

Code HTTP status 417.

Status418ImATeapot

Code HTTP status 418.

Status419AuthenticationTimeout

Code HTTP status 419.

Status421MisdirectedRequest

Code HTTP status 421.

Status422UnprocessableEntity

Code HTTP status 422.

Status423Locked

Code HTTP status 423.

Status424FailedDependency

Code HTTP status 424.

Status426UpgradeRequired

Code HTTP status 426.

Status428PreconditionRequired

Http status code 428.

Status429TooManyRequests

Code HTTP status 429.

Status431RequestHeaderFieldsTooLarge

Code http status 431.

Status451UnavailableForLegalReasons

Code HTTP status 451.

Status499ClientClosedRequest

Code HTTP status 499. Il s’agit d’un code status non officiel défini à l’origine par Nginx et couramment utilisé dans les journaux lorsque le client s’est déconnecté.

Status500InternalServerError

Code HTTP status 500.

Status501NotImplemented

Http status code 501.

Status502BadGateway

Http status code 502.

Status503ServiceUnavailable

Code HTTP status 503.

Status504GatewayTimeout

Http status code 504.

Status505HttpVersionNotsupported

Http status code 505.

Status506VariantAlsoNegotiates

Code http status 506.

Status507InsufficientStorage

Http status code 507.

Status508LoopDetected

Http status code 508.

Status510NotExtended

Http status code 510.

Status511NetworkAuthenticationRequired

Http status code 511.

S’applique à