users@jersey.java.net

MessageBodyWriter<T>.writeTo change?

From: Daniel Larsson <daniel.j.larsson_at_gmail.com>
Date: Wed, 13 Aug 2008 03:43:01 +0200

I recently updated my NetBeans installation, and got a newer jersey release
(ProduceMime -> Produces, etc). What I've also noticed is a change in
MessageBodyWriter<T>.writeTo. Previously, the mediaType parameter would
reflect the request's Accept header value, but since the upgrade, I'm
getting "application/octet-stream" sent to my provider.
Have I relied on a misfeature until now? (My provider supports multiple
media types, and used this parameter to pick the requested one)