You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Rich Newcomb (Updated) (JIRA)" <ji...@apache.org> on 2011/10/05 23:24:29 UTC

[jira] [Updated] (CAMEL-4521) camel-jetty should apply the Camel message body content as the HTTP request body for HTTP PUT requests

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

Rich Newcomb updated CAMEL-4521:
--------------------------------

    Attachment: CAMEL-4521-camel-jetty-trunk.patch

Attached patch
                
> camel-jetty should apply the Camel message body content as the HTTP request body for HTTP PUT requests
> ------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-4521
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4521
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-jetty
>            Reporter: Rich Newcomb
>            Priority: Minor
>         Attachments: CAMEL-4521-camel-jetty-trunk.patch
>
>
> The camel-jetty JettyHttpProducer only transposes Camel message body content into the HTTP request body if the HTTP method is POST.  The  component should be updated to also attach body content when the HTTP PUT method is specified.  This will better support the expected HTTP method semantics, and will allow camel-jetty to be used as a client for systems that employ the "High REST" architecture paradigm.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira