Bagikan melalui


StatusCodes Kelas

Definisi

Kumpulan konstanta untuk kode status HTTP.

public ref class StatusCodes abstract sealed
public static class StatusCodes
type StatusCodes = class
Public Class StatusCodes
Warisan
StatusCodes

Keterangan

Deskripsi untuk kode status tersedia dari Microsoft.AspNetCore.WebUtilities.ReasonPhrases.GetReasonPhrase(Int32).

Bidang

Status100Continue

Kode status HTTP 100.

Status101SwitchingProtocols

Kode status HTTP 101.

Status102Processing

Kode status HTTP 102.

Status200OK

Kode status HTTP 200.

Status201Created

Kode status HTTP 201.

Status202Accepted

Kode status HTTP 202.

Status203NonAuthoritative

Kode status HTTP 203.

Status204NoContent

Kode status HTTP 204.

Status205ResetContent

Kode status HTTP 205.

Status206PartialContent

Kode status HTTP 206.

Status207MultiStatus

Kode status HTTP 207.

Status208AlreadyReported

Kode status HTTP 208.

Status226IMUsed

Kode status HTTP 226.

Status300MultipleChoices

Kode status HTTP 300.

Status301MovedPermanently

Kode status HTTP 301.

Status302Found

Kode status HTTP 302.

Status303SeeOther

Kode status HTTP 303.

Status304NotModified

Kode status HTTP 304.

Status305UseProxy

Kode status HTTP 305.

Status306SwitchProxy

Kode status HTTP 306.

Status307TemporaryRedirect

Kode status HTTP 307.

Status308PermanentRedirect

Kode status HTTP 308.

Status400BadRequest

Kode status HTTP 400.

Status401Unauthorized

Kode status HTTP 401.

Status402PaymentRequired

Kode status HTTP 402.

Status403Forbidden

Kode status HTTP 403.

Status404NotFound

Kode status HTTP 404.

Status405MethodNotAllowed

Kode status HTTP 405.

Status406NotAcceptable

Kode status HTTP 406.

Status407ProxyAuthenticationRequired

Kode status HTTP 407.

Status408RequestTimeout

Kode status HTTP 408.

Status409Conflict

Kode status HTTP 409.

Status410Gone

Kode status HTTP 410.

Status411LengthRequired

Kode status HTTP 411.

Status412PreconditionFailed

Kode status HTTP 412.

Status413PayloadTooLarge

Kode status HTTP 413.

Status413RequestEntityTooLarge

Kode status HTTP 413.

Status414RequestUriTooLong

Kode status HTTP 414.

Status414UriTooLong

Kode status HTTP 414.

Status415UnsupportedMediaType

Kode status HTTP 415.

Status416RangeNotSatisfiable

Kode status HTTP 416.

Status416RequestedRangeNotSatisfiable

Kode status HTTP 416.

Status417ExpectationFailed

Kode status HTTP 417.

Status418ImATeapot

Kode status HTTP 418.

Status419AuthenticationTimeout

Kode status HTTP 419.

Status421MisdirectedRequest

Kode status HTTP 421.

Status422UnprocessableEntity

Kode status HTTP 422.

Status423Locked

Kode status HTTP 423.

Status424FailedDependency

Kode status HTTP 424.

Status426UpgradeRequired

Kode status HTTP 426.

Status428PreconditionRequired

Kode status HTTP 428.

Status429TooManyRequests

Kode status HTTP 429.

Status431RequestHeaderFieldsTooLarge

Kode status HTTP 431.

Status451UnavailableForLegalReasons

Kode status HTTP 451.

Status499ClientClosedRequest

Kode status HTTP 499. Ini adalah kode status tidak resmi yang awalnya didefinisikan oleh Nginx dan umumnya digunakan dalam log ketika klien telah terputus.

Status500InternalServerError

Kode status HTTP 500.

Status501NotImplemented

Kode status HTTP 501.

Status502BadGateway

Kode status HTTP 502.

Status503ServiceUnavailable

Kode status HTTP 503.

Status504GatewayTimeout

Kode status HTTP 504.

Status505HttpVersionNotsupported

Kode status HTTP 505.

Status506VariantAlsoNegotiates

Kode status HTTP 506.

Status507InsufficientStorage

Kode status HTTP 507.

Status508LoopDetected

Kode status HTTP 508.

Status510NotExtended

Kode status HTTP 510.

Status511NetworkAuthenticationRequired

Kode status HTTP 511.

Berlaku untuk