users@jersey.java.net

JSONWithPadding & Accept headers

From: Magnus Eklund <magnus.eklund_at_gmail.com>
Date: Mon, 23 Mar 2009 22:21:17 +0100

Hi

I've successfully implemented a jsonp service using the
JSONWithPaddingProvider. The problem I'm facing is that most browsers
appear to be sending a wild card accept header (Accept:*/*) and not
one the types supported by JSONWithPaddingProvider. Anyone have any
ideas on how to solve this? I'd like to return a jsonp representation
regardless of the accept header.

Thanks

- Magnus