4 ms·
It's an HTTP 422 code. Some web frameworks use for validation errors, like fields containing prohibited values. Depending on the application, the incorrect con
by kayodelycaon 1y ago
It's an HTTP 422 code. Some web frameworks use for validation errors, like fields containing prohibited values.
Depending on the application, the incorrect content type on a file would be considered a validation error, instead of a bad upload.
Fun bit of trivia: 422 was originally a WebDAV code, but frameworks like Ruby on Rails started using it for validation errors in forms.