[
https://issues.apache.org/jira/browse/CAMEL-17040?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen updated CAMEL-17040:
--------------------------------
Fix Version/s: 4.2.0
(was: 4.x)
> rest-dsl - Add option to return http 204 when no data in response
> -----------------------------------------------------------------
>
> Key: CAMEL-17040
> URL: https://issues.apache.org/jira/browse/CAMEL-17040
> Project: Camel
> Issue Type: Improvement
> Components: camel-core, rest
> Reporter: Claus Ibsen
> Priority: Major
> Fix For: 4.2.0
>
>
> For example if you have a json response as an empty list, then you can get a
> 200 OK with [] as response.
> Or with an XML then it may be an empty xml root object.
> It may be desirable to have an option you can set to true to let Camel
> auto-detect this and return no body and 204 instead.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)