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

Respond Error Pages by Content-Type #863

Closed
natanfelles opened this issue Dec 13, 2017 · 1 comment
Closed

Respond Error Pages by Content-Type #863

natanfelles opened this issue Dec 13, 2017 · 1 comment

Comments

@natanfelles
Copy link
Contributor

As title says, to add a way to respond 404 and other error pages by request content-type.

Maybe just the Status Code or with a default message like the HTML views do...

@lonnieezell
Copy link
Member

Completely agree. We could just have the exception message/code used and converted to JSON/XML/HTML depending on what content-type is negotiated with the client.

We also need to do this for the Toolbar at some point.

lonnieezell added a commit that referenced this issue Mar 21, 2018
Respond Error Pages by Accept Header - Closes #863
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants