Skip to content

Commit

Permalink
Rename UNPROCESSABLE_ENTITY to UNPROCESSABLE_CONTENT
Browse files Browse the repository at this point in the history
  • Loading branch information
Pi-Cla committed Mar 20, 2024
1 parent c88f839 commit 0ec75f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/status.rs
Original file line number Diff line number Diff line change
Expand Up @@ -453,9 +453,9 @@ status_codes! {
/// 421 Misdirected Request
/// [[RFC9110, Section 15.5.20](https://datatracker.ietf.org/doc/html/rfc9110#section-15.5.20)]
(421, MISDIRECTED_REQUEST, "Misdirected Request");
/// 422 Unprocessable Entity
/// 422 Unprocessable Content
/// [[RFC9110, Section 15.5.21](https://datatracker.ietf.org/doc/html/rfc9110#section-15.5.21)]
(422, UNPROCESSABLE_ENTITY, "Unprocessable Entity");
(422, UNPROCESSABLE_CONTENT, "Unprocessable Content");
/// 423 Locked
/// [[RFC4918, Section 11.3](https://datatracker.ietf.org/doc/html/rfc4918#section-11.3)]
(423, LOCKED, "Locked");
Expand Down

0 comments on commit 0ec75f0

Please sign in to comment.