You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2016/06/27 12:29:52 UTC

[jira] [Commented] (CAMEL-10093) camel-restlet - Message body is null

    [ https://issues.apache.org/jira/browse/CAMEL-10093?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15350912#comment-15350912 ] 

Claus Ibsen commented on CAMEL-10093:
-------------------------------------

Okay this happens if a client send xxx-form-urlencoded data that is not in correct form structure. Then camel-restlet stores the form as a header.

If the client is configured to set Content-Type: application/xml etc to send XML payload the it works. So its more of a "camel-restlet" could parse the form data better and if its invalid report that.

> camel-restlet - Message body is null
> ------------------------------------
>
>                 Key: CAMEL-10093
>                 URL: https://issues.apache.org/jira/browse/CAMEL-10093
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-restlet
>    Affects Versions: 2.17.2
>            Reporter: Claus Ibsen
>             Fix For: 2.17.2
>
>         Attachments: 2171.png, 2172.png
>
>
> Works with 2.17.1, but upgrading to 2.17.2 causes the message body to be empty. And in 2.17.2 then message body is mistakenly stored in a message header instead.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)