Codici di stato HTTP
I codici più frequenti in API e CDN. Quelli sperimentali rari sono esclusi.
| Codice | Nome | Significato |
|---|---|---|
| 200 | OK | Success with body |
| 201 | Created | Resource created |
| 204 | No Content | Success, empty body |
| 301 | Moved Permanently | Permanent redirect |
| 302 | Found | Temporary redirect |
| 304 | Not Modified | Use cached copy |
| 400 | Bad Request | Client request invalid |
| 401 | Unauthorized | Auth required / failed |
| 403 | Forbidden | Authenticated but denied |
| 404 | Not Found | No such resource |
| 405 | Method Not Allowed | Wrong HTTP method |
| 408 | Request Timeout | Client too slow |
| 409 | Conflict | State conflict |
| 410 | Gone | Permanently removed |
| 422 | Unprocessable Entity | Semantics invalid |
| 429 | Too Many Requests | Rate limited |
| 500 | Internal Server Error | Server fault |
| 502 | Bad Gateway | Upstream invalid |
| 503 | Service Unavailable | Overloaded / down |
| 504 | Gateway Timeout | Upstream timeout |
Note
- 401 vs 403: credenziali assenti/fallite contro autenticato ma non autorizzato.
- Il CDN può rispondere 5xx se l’origine non è raggiungibile.