aboutsummaryrefslogtreecommitdiffstats
path: root/guides
diff options
context:
space:
mode:
authorArun Agrawal <arunagw@gmail.com>2017-07-04 09:39:13 +0530
committerGitHub <noreply@github.com>2017-07-04 09:39:13 +0530
commit6f2b0eb44ab166f98f3bc4a3aa09d3b899e0fd62 (patch)
tree5e59e25c9a6bcc3df784cd1587491ec88812c921 /guides
parent4b29d9f1db0dd8fc95829cfefed0687242cfc12b (diff)
parentb6929552148c42f6d9687957d316c0ee555f246d (diff)
downloadrails-6f2b0eb44ab166f98f3bc4a3aa09d3b899e0fd62.tar.gz
rails-6f2b0eb44ab166f98f3bc4a3aa09d3b899e0fd62.tar.bz2
rails-6f2b0eb44ab166f98f3bc4a3aa09d3b899e0fd62.zip
Merge pull request #29668 from y-yagi/add_missing_status_code_and_symbol
Add missing http status codes [ci skip]
Diffstat (limited to 'guides')
-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 |