[
https://issues.apache.org/jira/browse/CAMEL-7892?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Willem Jiang updated CAMEL-7892:
--------------------------------
Affects Version/s: 2.12.4
2.13.2
> Unable to perform a restlet DELETE with no entity
> -------------------------------------------------
>
> Key: CAMEL-7892
> URL: https://issues.apache.org/jira/browse/CAMEL-7892
> 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
>
>
> The Restlet class
> org.restlet.ext.httpclient.internal.HttpMethodCall.java
> 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
(v6.3.4#6332)