Commit cb4e222
Rename unprocessable_entity to unprocessable_content
When the 422 status was initially proposed in
[RFC4918](https://datatracker.ietf.org/doc/html/rfc4918) (2007), it was
called 'Unprocessable entity'.
When it became a standard in
[RFC9110](https://datatracker.ietf.org/doc/html/rfc9110) (2022), it was
renamed 'Unprocessable content'.
Rack now supports it as `:unprocessable_content` and has deprecated
`:unprocessable_entity`. This commit updates it to use the new name.
Co-authored-by: David Biddle <david.biddle@digital.cabinet-office.gov.uk>1 parent fcccfbc commit cb4e222
2 files changed
Lines changed: 3 additions & 3 deletions
File tree
- app/controllers/account
- spec/controllers/forms
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
97 | | - | |
| 97 | + | |
98 | 98 | | |
99 | | - | |
| 99 | + | |
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
| |||
0 commit comments