UNPKG

1.34 kBTypeScriptView Raw
1/**
2 * @publicApi
3 */
4export declare enum HttpStatus {
5 CONTINUE = 100,
6 SWITCHING_PROTOCOLS = 101,
7 PROCESSING = 102,
8 EARLYHINTS = 103,
9 OK = 200,
10 CREATED = 201,
11 ACCEPTED = 202,
12 NON_AUTHORITATIVE_INFORMATION = 203,
13 NO_CONTENT = 204,
14 RESET_CONTENT = 205,
15 PARTIAL_CONTENT = 206,
16 AMBIGUOUS = 300,
17 MOVED_PERMANENTLY = 301,
18 FOUND = 302,
19 SEE_OTHER = 303,
20 NOT_MODIFIED = 304,
21 TEMPORARY_REDIRECT = 307,
22 PERMANENT_REDIRECT = 308,
23 BAD_REQUEST = 400,
24 UNAUTHORIZED = 401,
25 PAYMENT_REQUIRED = 402,
26 FORBIDDEN = 403,
27 NOT_FOUND = 404,
28 METHOD_NOT_ALLOWED = 405,
29 NOT_ACCEPTABLE = 406,
30 PROXY_AUTHENTICATION_REQUIRED = 407,
31 REQUEST_TIMEOUT = 408,
32 CONFLICT = 409,
33 GONE = 410,
34 LENGTH_REQUIRED = 411,
35 PRECONDITION_FAILED = 412,
36 PAYLOAD_TOO_LARGE = 413,
37 URI_TOO_LONG = 414,
38 UNSUPPORTED_MEDIA_TYPE = 415,
39 REQUESTED_RANGE_NOT_SATISFIABLE = 416,
40 EXPECTATION_FAILED = 417,
41 I_AM_A_TEAPOT = 418,
42 MISDIRECTED = 421,
43 UNPROCESSABLE_ENTITY = 422,
44 FAILED_DEPENDENCY = 424,
45 PRECONDITION_REQUIRED = 428,
46 TOO_MANY_REQUESTS = 429,
47 INTERNAL_SERVER_ERROR = 500,
48 NOT_IMPLEMENTED = 501,
49 BAD_GATEWAY = 502,
50 SERVICE_UNAVAILABLE = 503,
51 GATEWAY_TIMEOUT = 504,
52 HTTP_VERSION_NOT_SUPPORTED = 505
53}