You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Chaitanya Choleti (JIRA)" <ji...@apache.org> on 2009/06/09 17:04:07 UTC

[jira] Closed: (CXF-2272) Only mime-type (not content-type) should be set on the message.

     [ https://issues.apache.org/jira/browse/CXF-2272?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chaitanya Choleti closed CXF-2272.
----------------------------------

    Resolution: Fixed

> 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
>          Components: REST
>    Affects Versions: 2.2.3, 2.3
>            Reporter: Chaitanya Choleti
>             Fix For: 2.2.3, 2.3
>
>
> 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.