Variable HTTP_STATUSConst

HTTP_STATUS: {
    ACCEPTED: 202;
    AMBIGUOUS: 300;
    BAD_GATEWAY: 502;
    BAD_REQUEST: 400;
    CONFLICT: 409;
    CONTINUE: 100;
    CREATED: 201;
    EARLYHINTS: 103;
    EXPECTATION_FAILED: 417;
    FAILED_DEPENDENCY: 424;
    FORBIDDEN: 403;
    FOUND: 302;
    GATEWAY_TIMEOUT: 504;
    GONE: 410;
    HTTP_VERSION_NOT_SUPPORTED: 505;
    INTERNAL_SERVER_ERROR: 500;
    I_AM_A_TEAPOT: 418;
    LENGTH_REQUIRED: 411;
    METHOD_NOT_ALLOWED: 405;
    MISDIRECTED: 421;
    MOVED_PERMANENTLY: 301;
    NON_AUTHORITATIVE_INFORMATION: 203;
    NOT_ACCEPTABLE: 406;
    NOT_FOUND: 404;
    NOT_IMPLEMENTED: 501;
    NOT_MODIFIED: 304;
    NO_CONTENT: 204;
    OK: 200;
    PARTIAL_CONTENT: 206;
    PAYLOAD_TOO_LARGE: 413;
    PAYMENT_REQUIRED: 402;
    PERMANENT_REDIRECT: 308;
    PRECONDITION_FAILED: 412;
    PRECONDITION_REQUIRED: 428;
    PROCESSING: 102;
    PROXY_AUTHENTICATION_REQUIRED: 407;
    REQUESTED_RANGE_NOT_SATISFIABLE: 416;
    REQUEST_TIMEOUT: 408;
    RESET_CONTENT: 205;
    SEE_OTHER: 303;
    SERVICE_UNAVAILABLE: 503;
    SWITCHING_PROTOCOLS: 101;
    TEMPORARY_REDIRECT: 307;
    TOO_MANY_REQUESTS: 429;
    UNAUTHORIZED: 401;
    UNPROCESSABLE_ENTITY: 422;
    UNSUPPORTED_MEDIA_TYPE: 415;
    URI_TOO_LONG: 414;
} = ...

Type declaration

  • Readonly ACCEPTED: 202
  • Readonly AMBIGUOUS: 300
  • Readonly BAD_GATEWAY: 502
  • Readonly BAD_REQUEST: 400
  • Readonly CONFLICT: 409
  • Readonly CONTINUE: 100
  • Readonly CREATED: 201
  • Readonly EARLYHINTS: 103
  • Readonly EXPECTATION_FAILED: 417
  • Readonly FAILED_DEPENDENCY: 424
  • Readonly FORBIDDEN: 403
  • Readonly FOUND: 302
  • Readonly GATEWAY_TIMEOUT: 504
  • Readonly GONE: 410
  • Readonly HTTP_VERSION_NOT_SUPPORTED: 505
  • Readonly INTERNAL_SERVER_ERROR: 500
  • Readonly I_AM_A_TEAPOT: 418
  • Readonly LENGTH_REQUIRED: 411
  • Readonly METHOD_NOT_ALLOWED: 405
  • Readonly MISDIRECTED: 421
  • Readonly MOVED_PERMANENTLY: 301
  • Readonly NON_AUTHORITATIVE_INFORMATION: 203
  • Readonly NOT_ACCEPTABLE: 406
  • Readonly NOT_FOUND: 404
  • Readonly NOT_IMPLEMENTED: 501
  • Readonly NOT_MODIFIED: 304
  • Readonly NO_CONTENT: 204
  • Readonly OK: 200
  • Readonly PARTIAL_CONTENT: 206
  • Readonly PAYLOAD_TOO_LARGE: 413
  • Readonly PAYMENT_REQUIRED: 402
  • Readonly PERMANENT_REDIRECT: 308
  • Readonly PRECONDITION_FAILED: 412
  • Readonly PRECONDITION_REQUIRED: 428
  • Readonly PROCESSING: 102
  • Readonly PROXY_AUTHENTICATION_REQUIRED: 407
  • Readonly REQUESTED_RANGE_NOT_SATISFIABLE: 416
  • Readonly REQUEST_TIMEOUT: 408
  • Readonly RESET_CONTENT: 205
  • Readonly SEE_OTHER: 303
  • Readonly SERVICE_UNAVAILABLE: 503
  • Readonly SWITCHING_PROTOCOLS: 101
  • Readonly TEMPORARY_REDIRECT: 307
  • Readonly TOO_MANY_REQUESTS: 429
  • Readonly UNAUTHORIZED: 401
  • Readonly UNPROCESSABLE_ENTITY: 422
  • Readonly UNSUPPORTED_MEDIA_TYPE: 415
  • Readonly URI_TOO_LONG: 414