Skip to content

HTTP 422 Unprocessable Content @ RFC 9110 (HTTP Semantics) seems missing? #281

Description

@holtkamp

HTTP 422 is exposed as Unprocessable Entity via the WebDAV extension (RFC 4918)

public const UNPROCESSABLE_ENTITY = 422;

https://datatracker.ietf.org/doc/html/rfc4918/#section-11.2

But since 2022 it is also published in RFC 9110 (HTTP Semantics) which seems to be missing in this library, is that correct?

https://datatracker.ietf.org/doc/html/rfc9110#section-15.5.21

Rationale: it would be nice to be able to use \Teapot\StatusCode\Http::UNPROCESSABLE_CONTENT

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions