Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
2.20.2
-
None
-
Unknown
Description
Camel still prints warnings such as this:
Addition of the standard response header "ETag" is not allowed. Please use the equivalent property in the Restlet API.
However, these headers are actually easy to set by using Restlet's own HeaderUtils, specifically via:
HeaderUtils.copyResponseTransportHeaders(standardHeaders, response); HeaderUtils.extractEntityHeaders(standardHeaders, response.getEntity());