Skip to content

added status code 422 - Unprocessable Entity#1313

Open
guitcastro wants to merge 2 commits intojakartaee:mainfrom
guitcastro:patch-1
Open

added status code 422 - Unprocessable Entity#1313
guitcastro wants to merge 2 commits intojakartaee:mainfrom
guitcastro:patch-1

Conversation

@guitcastro
Copy link
Copy Markdown

@guitcastro guitcastro commented Mar 31, 2025

This PR just fix a typo in doc PARTIAL_CONTENT docs and add the missing 422 status (Unprocessable Entity).

*/
PRECONDITION_REQUIRED(428, "Precondition Required"),
/**
* 422 Unprocessable Entity, see <a href="https://datatracker.ietf.org/doc/html/rfc4918#section-11.2">RFC 4918:
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please don't refer to WebDAV, but instead go with https://httpwg.org/specs/rfc9110.html#status.422.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mkarg Thanks for the suggestion, I've updated the link

* 422 Unprocessable Entity, see <a href="https://httpwg.org/specs/rfc9110.html#status.422">RFC 9110:
* 422 Unprocessable Content</a>.
*
* @since 4.0
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

4.0 is already released. We should have the next version here.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mkarg What version should I use?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@spericas Forwarding question to project lead to trigger a final decision if we want a 4.1 or directly work towards 5.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants