Skip to content

Conversation

@TomJaeger
Copy link
Contributor

@TomJaeger TomJaeger commented Sep 11, 2025

Add/additional http status codes
HTTP Status Code 451 (Unavailable For Legal Reasons)
HTTP Status Code 103 (Early Hints)
HTTP Status Code 425 (Too Early)
HTTP Status Code 422 (Unprocessable Entity)

@TomJaeger TomJaeger added this to the 7.5.16 milestone Sep 11, 2025
@bryannielsen bryannielsen changed the title Add/additional http status codes Resolved #4974 Add additional http status codes Sep 11, 2025
@bryannielsen
Copy link
Contributor

This will close #4974

@TomJaeger
Copy link
Contributor Author

also added
100 - Continue
101 - Switching Protocols
102 - Processing
3xx Redirection
303 - See Other
308 - Permanent Redirect
4xx Client Error
402 - Payment Required
418 - I'm a teapot
421 - Misdirected Request
423 - Locked
424 - Failed Dependency
426 - Upgrade Required
428 - Precondition Required
429 - Too Many Requests
431 - Request Header Fields Too Large
5xx Server Error
507 - Insufficient Storage
508 - Loop Detected
510 - Not Extended
511 - Network Authentication Required

415 => 'Unsupported Media Type',
416 => 'Requested Range Not Satisfiable',
417 => 'Expectation Failed',
418 => 'I\'m a teapot',
Copy link
Member

Choose a reason for hiding this comment

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

Good ol' HTCPCP/1.0

@TomJaeger TomJaeger merged commit 72a546c into 7.dev Sep 11, 2025
24 checks passed
@TomJaeger TomJaeger deleted the add/additional-http-status-codes branch September 11, 2025 20:10
@benjivm
Copy link

benjivm commented Sep 11, 2025

Thanks, this does fix the issue, the APIs my site is consuming make broad use of 422 for erroneous client requests, do you have an ETA for when this will be released?

@TomJaeger
Copy link
Contributor Author

Awesome, glad to hear it!

Right now the plan is for Monday, assuming we don't run into any unforeseen issues :)

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.

5 participants