Skip to content
This repository has been archived by the owner on Feb 22, 2024. It is now read-only.

@produces does not handle wildcards properly #4

Open
karolmajta opened this issue Aug 20, 2015 · 2 comments
Open

@produces does not handle wildcards properly #4

karolmajta opened this issue Aug 20, 2015 · 2 comments

Comments

@karolmajta
Copy link

@produces('application/json')

will cause 406 when client accepts */*

@produces('application/json', '*/*')

works fine.

This should not require the second form. If client accepts */* then application/json response is perfectly valid.

@jackfirth
Copy link

+1, just hit this issue myself

@alexkalderimis
Copy link

@karolmajta see #3

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

3 participants