Hi

Yes, forgot about it, sorry, set it as a contextual property, ex in jaxrs:server/jaxrs:properties, and it should do it

Cheers, Sergey
On 07/06/16 03:33, zouyue735 wrote:
Hi

Thanks for replying

I found the jira ticket when this change is added. I noticed that the
property 'DEFAULT_CONTENT_TYPE' was added together with this change.

     private static final String DEFAULT_CONTENT_TYPE =
"default.content.type";

     ....

     String defaultCt =
(String)message.getContextualProperty(DEFAULT_CONTENT_TYPE);

I haven't found other codes referencing this property, would configuring
this property achieve the same effect ?



--
View this message in context: 
http://cxf.547215.n5.nabble.com/Request-with-no-content-type-header-gets-415-for-jaxrs-service-tp5769326p5769353.html
Sent from the cxf-user mailing list archive at Nabble.com.



--
Sergey Beryozkin

Talend Community Coders
http://coders.talend.com/

Reply via email to