Download src/utils/statusCodes.ts from lynfera/api: direct link, hf CLI and curl.
- Browser
- Download file 459 Bytes
-
https://huggingface.co/spaces/lynfera/api/resolve/main/src/utils/statusCodes.ts
- Command line
-
hf download hf://spaces/lynfera/api/src/utils/statusCodes.ts
-
curl -L -o statusCodes.ts https://huggingface.co/spaces/lynfera/api/resolve/main/src/utils/statusCodes.ts
459 Bytes
| export const STATUS_CODES = { | |
| CONTINUE: 100, | |
| OK: 200, | |
| CREATED: 201, | |
| ACCEPTED: 202, | |
| NO_CONTENT: 204, | |
| MOVED_PERMANENTLY: 301, | |
| FOUND: 302, | |
| NOT_MODIFIED: 304, | |
| BAD_REQUEST: 400, | |
| UNAUTHORIZED: 401, | |
| FORBIDDEN: 403, | |
| NOT_FOUND: 404, | |
| METHOD_NOT_ALLOWED: 405, | |
| CONFLICT: 409, | |
| UNPROCESSABLE_ENTITY: 422, | |
| TOO_MANY_REQUESTS: 429, | |
| INTERNAL_SERVER_ERROR: 500, | |
| NOT_IMPLEMENTED: 501, | |
| BAD_GATEWAY: 502, | |
| SERVICE_UNAVAILABLE: 503, | |
| GATEWAY_TIMEOUT: 504, | |
| }; | |