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

[jira] Commented: (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:comment-tabpanel&focusedCommentId=12717674#action_12717674 ] 

Sergey Beryozkin commented on CXF-2272:
---------------------------------------

I think it the issue with JAXRSUtils

> 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.