You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2021/07/20 14:47:29 UTC

[camel-kamelets] 01/03: Http Sink Kamelet: Remove header CamelHttpUri in case is set from source

This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git

commit 6457d0eedc141b9bc13a1a0a52b5fe66dc315c5b
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Tue Jul 20 16:42:29 2021 +0200

    Http Sink Kamelet: Remove header CamelHttpUri in case is set from source
---
 http-sink.kamelet.yaml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/http-sink.kamelet.yaml b/http-sink.kamelet.yaml
index 02ff7cf..cff3534 100644
--- a/http-sink.kamelet.yaml
+++ b/http-sink.kamelet.yaml
@@ -37,6 +37,8 @@ spec:
     from:
       uri: kamelet:source
       steps:
+      - remove-header:
+          header-name: CamelHttpUri
       - set-header:
           name: CamelHttpMethod
           constant: "{{method}}"