-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use json for error response of REST api
This uses application/json for error response too. With this, all REST api return application/json except 404 error (we can't use @blueprint.errorhandler(404) for now) and ItemDownloadView (ItemDownloadView uses "Content-Type" as downloaded data type).
- Loading branch information
1 parent
a90b0f0
commit f991fb7
Showing
2 changed files
with
10 additions
and
3 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