On 23/08/13 00:00, icfantv wrote:
Ok, we just wrote a unit test and removed the @Produces annotation and it works as we originally expected. I.e., whatever the Accepts header value is, is the media type of the response. We did not have to use HttpHeaders at all.
Sure, HttpHeaders can help if Accept has multiple values
Cheers, Sergey
-- View this message in context: http://cxf.547215.n5.nabble.com/Ensuring-correct-MediaType-on-ExceptionMapper-tp5732905p5732932.html Sent from the cxf-user mailing list archive at Nabble.com.
-- Sergey Beryozkin Talend Community Coders http://coders.talend.com/ Blog: http://sberyozkin.blogspot.com
