users@jersey.java.net

A MessageBodyWriter that produces “text/*” will return a response code 500 for a request for “text/*”

From: Alex Treppass <alextreppass_at_googlemail.com>
Date: Fri, 16 Apr 2010 14:05:22 +0100

When the ContainerResponse generates the appropriate mime type checks to see
whether the mime type is null or contains wildcards. If true then it
overwrites the specified mime type with application/octet-stream. The
ContainerResponse then attempts to find a MessageBodywriter for
application/octet-stream and throws a 500 because it is unable to find one.