You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@wink.apache.org by "Luciano Resende (JIRA)" <ji...@apache.org> on 2013/04/24 18:35:16 UTC
[jira] [Updated] (WINK-379) Server error when accept header too
broad
[ https://issues.apache.org/jira/browse/WINK-379?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Luciano Resende updated WINK-379:
---------------------------------
Attachment: wink-379-avoid-selecting-media-type-without-writer.patch
This patch contains a partial fix for the case where text/plain;q=0.1 is ignored due to it's q and text/foo is being selected even tough there is no registered writer for that. As this is breaking some other tests, I'd like a second eyes on this in case I'm forgetting something.
> 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-avoid-selecting-media-type-without-writer.patch, wink-379-sample.patch
>
>
> As posted here: http://mail-archives.apache.org/mod_mbox/wink-user/201301.mbox/%3CCALvhUEXFOBnx-CxswLeauMYDSNBu3OSh3_PVoT55BychL54QaA@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