Only mime-type (not content-type) should be set on the message.
---------------------------------------------------------------
Key: CXF-2272
URL: https://issues.apache.org/jira/browse/CXF-2272
Project: CXF
Issue Type: Bug
Reporter: Chaitanya Choleti
In org.apache.cxf.transport.http.AbstractHttpDestination.setupMessage() method
only mime-type should be set on the message.
For example:
If the content-type header on a request is :
application/xml;charset=utf-8
an IllegalArgumentException is thrown in
org.apache.cxf.jaxrs.utils.JAXRSUtils.findTargetMethod() as it expects only
mime type.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.