Variable STATUS_CODEConst

STATUS_CODE: {
    Accepted: 202;
    AlreadyReported: 208;
    BadGateway: 502;
    BadRequest: 400;
    Conflict: 409;
    ContentTooLarge: 413;
    Continue: 100;
    Created: 201;
    EarlyHints: 103;
    ExpectationFailed: 417;
    FailedDependency: 424;
    Forbidden: 403;
    Found: 302;
    GatewayTimeout: 504;
    Gone: 410;
    HTTPVersionNotSupported: 505;
    IMUsed: 226;
    InsufficientStorage: 507;
    InternalServerError: 500;
    LengthRequired: 411;
    Locked: 423;
    LoopDetected: 508;
    MethodNotAllowed: 405;
    MisdirectedRequest: 421;
    MovedPermanently: 301;
    MultipleChoices: 300;
    MultiStatus: 207;
    NetworkAuthenticationRequired: 511;
    NoContent: 204;
    NonAuthoritativeInfo: 203;
    NotAcceptable: 406;
    NotExtended: 510;
    NotFound: 404;
    NotImplemented: 501;
    NotModified: 304;
    OK: 200;
    PartialContent: 206;
    PaymentRequired: 402;
    PermanentRedirect: 308;
    PreconditionFailed: 412;
    PreconditionRequired: 428;
    Processing: 102;
    ProxyAuthRequired: 407;
    RangeNotSatisfiable: 416;
    RequestHeaderFieldsTooLarge: 431;
    RequestTimeout: 408;
    ResetContent: 205;
    SeeOther: 303;
    ServiceUnavailable: 503;
    SwitchingProtocols: 101;
    Teapot: 418;
    TemporaryRedirect: 307;
    TooEarly: 425;
    TooManyRequests: 429;
    Unauthorized: 401;
    UnavailableForLegalReasons: 451;
    UnprocessableEntity: 422;
    UnsupportedMediaType: 415;
    UpgradeRequired: 426;
    URITooLong: 414;
    UseProxy: 305;
    VariantAlsoNegotiates: 506;
} = ...

Type declaration

  • ReadonlyAccepted: 202

    RFC 7231, 6.3.3

  • ReadonlyAlreadyReported: 208

    RFC 5842, 7.1

  • ReadonlyBadGateway: 502

    RFC 7231, 6.6.3

  • ReadonlyBadRequest: 400

    RFC 7231, 6.5.1

  • ReadonlyConflict: 409

    RFC 7231, 6.5.8

  • ReadonlyContentTooLarge: 413

    RFC 7231, 6.5.11

  • ReadonlyContinue: 100

    RFC 7231, 6.2.1

  • ReadonlyCreated: 201

    RFC 7231, 6.3.2

  • ReadonlyEarlyHints: 103

    RFC 8297 *

  • ReadonlyExpectationFailed: 417

    RFC 7231, 6.5.14

  • ReadonlyFailedDependency: 424

    RFC 4918, 11.4

  • ReadonlyForbidden: 403

    RFC 7231, 6.5.3

  • ReadonlyFound: 302

    RFC 7231, 6.4.3

  • ReadonlyGatewayTimeout: 504

    RFC 7231, 6.6.5

  • ReadonlyGone: 410

    RFC 7231, 6.5.9

  • ReadonlyHTTPVersionNotSupported: 505

    RFC 7231, 6.6.6

  • ReadonlyIMUsed: 226

    RFC 3229, 10.4.1

  • ReadonlyInsufficientStorage: 507

    RFC 4918, 11.5

  • ReadonlyInternalServerError: 500

    RFC 7231, 6.6.1

  • ReadonlyLengthRequired: 411

    RFC 7231, 6.5.10

  • ReadonlyLocked: 423

    RFC 4918, 11.3

  • ReadonlyLoopDetected: 508

    RFC 5842, 7.2

  • ReadonlyMethodNotAllowed: 405

    RFC 7231, 6.5.5

  • ReadonlyMisdirectedRequest: 421

    RFC 7540, 9.1.2

  • ReadonlyMovedPermanently: 301

    RFC 7231, 6.4.2

  • ReadonlyMultipleChoices: 300

    RFC 7231, 6.4.1

  • ReadonlyMultiStatus: 207

    RFC 4918, 11.1

  • ReadonlyNetworkAuthenticationRequired: 511

    RFC 6585, 6

  • ReadonlyNoContent: 204

    RFC 7231, 6.3.5

  • ReadonlyNonAuthoritativeInfo: 203

    RFC 7231, 6.3.4

  • ReadonlyNotAcceptable: 406

    RFC 7231, 6.5.6

  • ReadonlyNotExtended: 510

    RFC 2774, 7

  • ReadonlyNotFound: 404

    RFC 7231, 6.5.4

  • ReadonlyNotImplemented: 501

    RFC 7231, 6.6.2

  • ReadonlyNotModified: 304

    RFC 7232, 4.1

  • ReadonlyOK: 200

    RFC 7231, 6.3.1

  • ReadonlyPartialContent: 206

    RFC 7233, 4.1

  • ReadonlyPaymentRequired: 402

    RFC 7231, 6.5.2

  • ReadonlyPermanentRedirect: 308

    RFC 7538, 3

  • ReadonlyPreconditionFailed: 412

    RFC 7232, 4.2

  • ReadonlyPreconditionRequired: 428

    RFC 6585, 3

  • ReadonlyProcessing: 102

    RFC 2518, 10.1

  • ReadonlyProxyAuthRequired: 407

    RFC 7235, 3.2

  • ReadonlyRangeNotSatisfiable: 416

    RFC 7233, 4.4

  • ReadonlyRequestHeaderFieldsTooLarge: 431

    RFC 6585, 5

  • ReadonlyRequestTimeout: 408

    RFC 7231, 6.5.7

  • ReadonlyResetContent: 205

    RFC 7231, 6.3.6

  • ReadonlySeeOther: 303

    RFC 7231, 6.4.4

  • ReadonlyServiceUnavailable: 503

    RFC 7231, 6.6.4

  • ReadonlySwitchingProtocols: 101

    RFC 7231, 6.2.2

  • ReadonlyTeapot: 418

    RFC 7168, 2.3.3

  • ReadonlyTemporaryRedirect: 307

    RFC 7231, 6.4.7

  • ReadonlyTooEarly: 425

    RFC 8470, 5.2

  • ReadonlyTooManyRequests: 429

    RFC 6585, 4

  • ReadonlyUnauthorized: 401

    RFC 7235, 3.1

  • ReadonlyUnavailableForLegalReasons: 451

    RFC 7725, 3

  • ReadonlyUnprocessableEntity: 422

    RFC 4918, 11.2

  • ReadonlyUnsupportedMediaType: 415

    RFC 7231, 6.5.13

  • ReadonlyUpgradeRequired: 426

    RFC 7231, 6.5.15

  • ReadonlyURITooLong: 414

    RFC 7231, 6.5.12

  • ReadonlyUseProxy: 305

    RFC 7231, 6.4.5

  • ReadonlyVariantAlsoNegotiates: 506

    RFC 2295, 8.1