Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

In camel there are lots of components use the http protocol headers to do their business.
The components include camel-http, camel-jetty, camel-restlet, camel-cxf etc.
So if you are using these component, you may pay attention to the Http protocol headers:

Code Block

  Exchange.CONTENT_ENCODING

...


  Exchange.CONTENT_TYPE

...


  Exchange.HTTP_BASE_URI

...


  Exchange.HTTP_CHARACTER_ENCODING

...


  Exchange.HTTP_METHOD

...


  Exchange.HTTP_PATH

...


  Exchange.HTTP_QUERY

...


  Exchange.HTTP_RESPONSE_CODE

If you don't want these headers bother your other endpoints, you'd better to remove these headers like these

...