Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Respond with 422 for non-GET JS requests with errors
Much like HTML responses, JS will respond with a 422 Unprocessable Entity for non-GET requests if the given resource contains errors, so it is consistent with all other formats going forward. Closes #159.
- Loading branch information
1 parent
8f4de70
commit ca2ab74
Showing
3 changed files
with
14 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters