aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/layouts_and_rendering.md
diff options
context:
space:
mode:
authoryuuji.yaginuma <yuuji.yaginuma@gmail.com>2017-07-01 22:29:41 +0900
committeryuuji.yaginuma <yuuji.yaginuma@gmail.com>2017-07-04 12:59:05 +0900
commitb6929552148c42f6d9687957d316c0ee555f246d (patch)
tree363e8a79512b9c9be1490872d95a7624e21a23a4 /guides/source/layouts_and_rendering.md
parentb38c370b0cbb6df0ba934d98311b3c7b1877429e (diff)
downloadrails-b6929552148c42f6d9687957d316c0ee555f246d.tar.gz
rails-b6929552148c42f6d9687957d316c0ee555f246d.tar.bz2
rails-b6929552148c42f6d9687957d316c0ee555f246d.zip
Add missing http status codes [ci skip]
Ref: https://github.com/rack/rack/commit/5401f776f660b1f8d0e0650ba78478d7488eff75, https://github.com/rack/rack/commit/73e08279d4433ca66cf22157a40dba562629031a
Diffstat (limited to 'guides/source/layouts_and_rendering.md')
-rw-r--r--guides/source/layouts_and_rendering.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/guides/source/layouts_and_rendering.md b/guides/source/layouts_and_rendering.md
index 57e603ec0d..76b325d0bf 100644
--- a/guides/source/layouts_and_rendering.md
+++ b/guides/source/layouts_and_rendering.md
@@ -379,6 +379,7 @@ Rails understands both numeric status codes and the corresponding symbols shown
| | 415 | :unsupported_media_type |
| | 416 | :range_not_satisfiable |
| | 417 | :expectation_failed |
+| | 421 | :misdirected_request |
| | 422 | :unprocessable_entity |
| | 423 | :locked |
| | 424 | :failed_dependency |
@@ -386,6 +387,7 @@ Rails understands both numeric status codes and the corresponding symbols shown
| | 428 | :precondition_required |
| | 429 | :too_many_requests |
| | 431 | :request_header_fields_too_large |
+| | 451 | :unavailable_for_legal_reasons |
| **Server Error** | 500 | :internal_server_error |
| | 501 | :not_implemented |
| | 502 | :bad_gateway |