camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Willem Jiang (JIRA)" <>
Subject [jira] [Resolved] (CAMEL-7892) Unable to perform a restlet DELETE with no entity
Date Thu, 09 Oct 2014 02:40:34 GMT


Willem Jiang resolved CAMEL-7892.
    Resolution: Fixed

Applied the patch into camel master, camel-2.14.x, camel-2.13.x  and camel-2.12.x branches.

> Unable to perform a restlet DELETE with no entity
> -------------------------------------------------
>                 Key: CAMEL-7892
>                 URL:
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-restlet
>    Affects Versions: 2.12.4, 2.13.2, 2.14.0
>            Reporter: Aldo Bongio
>            Assignee: Willem Jiang
>             Fix For: 2.12.5, 2.13.3, 2.14.1, 2.15.0
> The Restlet class
> logs a warning in case a DELETE method call is performed with an entity, indicating that
"The current DELETE request provides an entity that may be not supported by the Apache HTTP
Client library. If you face such issues, you can still move to another HTTP client connector."
> Unfortunately it seems impossible to force the Camel Restlet module to prepare a DELETE
Restlet Request with no entity. In fact the class
> org.apache.camel.component.restlet.DefaultRestletBinding in its method populateRestletRequestFromExchange
always creates an entity. Instead it should set a null entity in case exchange.getIn().getBody()
is null.

This message was sent by Atlassian JIRA

View raw message