[
https://issues.apache.org/jira/browse/WINK-379?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13623354#comment-13623354
]
Luciano Resende commented on WINK-379:
--------------------------------------
The problem with the other issues is that the PopulateResponseMediaTypeHandler
choose the best media type match, without validating that there is actually
support for that media type. When there is no support for the best match, the
other accepted media types are ignored causing the exception.
> Server error when accept header too broad
> -----------------------------------------
>
> Key: WINK-379
> URL: https://issues.apache.org/jira/browse/WINK-379
> Project: Wink
> Issue Type: Bug
> Reporter: Reto Bachmann-Gmür
> Attachments: wink-379-sample.patch
>
>
> As posted here:
> http://mail-archives.apache.org/mod_mbox/wink-user/201301.mbox/%3ccalvhuexfobnx-cxswleaumydsnbu3osh3_pvot55bychl54...@mail.gmail.com%3E
> Wink returns a 500 Server error if the accept header fisrt preference doesn't
> match a message body writer even if a MessageBodyWriter suitable for another
> accepted format is available.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira