Rename unprocessable_entity to unprocessable_content#1586
Conversation
9284da6 to
1fcb34e
Compare
|
🎉 A review copy of this PR has been deployed! It is made of up two components Important Not all of the functionality of forms-runner is present in review apps. You should use the full dev environment to test the functionality which is disabled here. It may take 5 minutes or so for the application to be fully deployed and working. If it still isn't ready For the sign in details and more information, see the review apps wiki page. |
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.
1fcb34e to
5b426f6
Compare
|



What problem does this pull request solve?
When the 422 status was initially proposed in RFC4918 (2007), it was called 'Unprocessable entity'.
When it became a standard in RFC9110 (2022), it was renamed 'Unprocessable content'.
Rack now supports it as
:unprocessable_contentand deprecated:unprocessable_entityin v3.1.0. This commit updates it to use the new name.Things to consider when reviewing