Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement HTTP response codes for exceptions
Exceptions should return HTTP response codes indicating an error, rather than a successful request. 4xx errors can be used for errors with data that the user has submitted. 5xx errors for unexpected server errors. The error page generator still needs to implement response codes.
- Loading branch information
1 parent
354ce79
commit a0072fd
Showing
3 changed files
with
15 additions
and
14 deletions.
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