Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API should alway return application/json content type #53

Open
fzxu opened this issue Jan 15, 2019 · 0 comments
Open

API should alway return application/json content type #53

fzxu opened this issue Jan 15, 2019 · 0 comments
Labels
API back-end related enhancement New feature or request size: 3

Comments

@fzxu
Copy link
Collaborator

fzxu commented Jan 15, 2019

It only returns application/json if everything goes fine, otherwise would be plain/txt for now. We should always return json type even with exception as long as there is body.

@fzxu fzxu added enhancement New feature or request API back-end related size: 3 labels Jan 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API back-end related enhancement New feature or request size: 3
Projects
None yet
Development

No branches or pull requests

1 participant