Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-7152

HttpProducer loses response data (specifically which headers where returned)

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.12.2
    • Fix Version/s: 2.16.0
    • Component/s: camel-http, camel-http4
    • Labels:
      None
    • Estimated Complexity:
      Novice

      Description

      HTTPProducer is currently copying all the older headers from IN onto the OUT.

      This means that after doing an HTTP call, there is no way to know which headers where returned by destination server, and which were there originally.

      In my case this is disastrous because I need to do an HMAC which include all headers

      Please add an HttpEndpoint Options which allows to disable that behaviour and not copy any old headers from IN. (and yes in that case the original headers would get lost, but then the developer can just preserve whatever he needs by storing the data in the exchange properties)

        Attachments

          Activity

            People

            • Assignee:
              davsclaus Claus Ibsen
              Reporter:
              ymenager Yannick Menager
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: