HTTP Status Code
HTTPのステータスコードってよく忘れがち。 主要なのを一覧を記述しときます。 あんま使わないものは書きませんでした。
Webサーバからのレスポンスを意味する3桁の数字のコード
Status code | explain | |
---|---|---|
1xx | Information | |
100 | Continue | |
2xx | Success | |
200 | OK | |
201 | Created | |
202 | Accepted | |
204 | No Content | |
3xx | Redirection | |
301 | Moved Permanently (恒久的に移動) | |
302 | Found (Moved Temprarily) | |
303 | See Other | |
304 | Not Modified | |
307 | Temporary Ridirect | |
308 | Permanent Redirect | |
4xx | Client error | |
400 | Bad Request | |
402 | Unauthorized | |
403 | Forbidden | |
404 | Not Found | |
405 | Method Not Allowed | |
406 | Not Acceptable | |
407 | Proxy Authentication Required | |
408 | Request Timeout | |
409 | Conflict | |
413 | Payload Too Large | |
414 | URI Too Long | |
415 | Unsupported Media Type | |
5xx | Server error | |
500 | Internal Server Error | |
501 | Not Implemented (実装されていない) | |
502 | Bad Gateway | |
503 | Service Unavailable | |
504 | Gateway Timeout | |
505 | HTTP Version Not Supported |