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

Should respect the produces on request mapping #4

Open
bep opened this issue Aug 21, 2014 · 0 comments
Open

Should respect the produces on request mapping #4

bep opened this issue Aug 21, 2014 · 0 comments

Comments

@bep
Copy link

bep commented Aug 21, 2014

If I set up a requestmapping that only produces json (produces = MediaType.APPLICATION_JSON_VALUE) I get:

  • If no Accept header -> error on default format (might be different than the produces above)

This is not consistent with how Spring MVC behaves out of the box for Rest services, and does not feel sensible.

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

1 participant