aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/layouts_and_rendering.md
diff options
context:
space:
mode:
authorBenjamin Quorning <bquorning@zendesk.com>2015-07-02 09:56:48 +0200
committerBenjamin Quorning <bquorning@zendesk.com>2015-08-21 09:04:50 +0200
commit4bcab1cdb8f3d9cfc601d5d76598770c1babe38f (patch)
tree0d6df6c52bd4bcc3e66173c9847a5e86f0042880 /guides/source/layouts_and_rendering.md
parent90bb73781128bd1ce1b1059bb173b8e1cf310e3a (diff)
downloadrails-4bcab1cdb8f3d9cfc601d5d76598770c1babe38f.tar.gz
rails-4bcab1cdb8f3d9cfc601d5d76598770c1babe38f.tar.bz2
rails-4bcab1cdb8f3d9cfc601d5d76598770c1babe38f.zip
Rack changed their status codes to IETF RFC 7231
rack/rack#754
Diffstat (limited to 'guides/source/layouts_and_rendering.md')
-rw-r--r--guides/source/layouts_and_rendering.md7
1 files changed, 3 insertions, 4 deletions
diff --git a/guides/source/layouts_and_rendering.md b/guides/source/layouts_and_rendering.md
index 94cd7297e2..b425eb126a 100644
--- a/guides/source/layouts_and_rendering.md
+++ b/guides/source/layouts_and_rendering.md
@@ -360,7 +360,6 @@ Rails understands both numeric status codes and the corresponding symbols shown
| | 303 | :see_other |
| | 304 | :not_modified |
| | 305 | :use_proxy |
-| | 306 | :reserved |
| | 307 | :temporary_redirect |
| | 308 | :permanent_redirect |
| **Client Error** | 400 | :bad_request |
@@ -376,10 +375,10 @@ Rails understands both numeric status codes and the corresponding symbols shown
| | 410 | :gone |
| | 411 | :length_required |
| | 412 | :precondition_failed |
-| | 413 | :request_entity_too_large |
-| | 414 | :request_uri_too_long |
+| | 413 | :payload_too_large |
+| | 414 | :uri_too_long |
| | 415 | :unsupported_media_type |
-| | 416 | :requested_range_not_satisfiable |
+| | 416 | :range_not_satisfiable |
| | 417 | :expectation_failed |
| | 422 | :unprocessable_entity |
| | 423 | :locked |