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

Bypassing the HttpError serialization #4

Open
cvbarros opened this issue Feb 12, 2014 · 1 comment
Open

Bypassing the HttpError serialization #4

cvbarros opened this issue Feb 12, 2014 · 1 comment

Comments

@cvbarros
Copy link

I think the HtmlMediaTypeViewformatter should not try to serialize the HttpError type and leave it to other formatters (maybe the default ones) to deal with this.

Another option would be to provide an 'out-of-the-box' view for HttpError, which would display nicely the errors in the same fashion the MVC projects.

This is to avoid creating a boilerplate HttpError view for every project suing the html formatter. I can work on this, but I'd like to hear your input first before getting started.

Thanks!

@panesofglass
Copy link
Member

Yes, that would be great! Sorry for the delay in replying. I only just saw this comment. We are currently discussing a re-merge of projects since the initial goal of independent maintainers was never realized, and that should help with managing issues better.

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