Netty HTTP Camel component do not support "Expect: 100-continue" header

Solution Verified - Updated -

Environment

  • JBoss Fuse 6.1

Issue

  • When using the camel-netty-http component on our server flows, the following cURL command returns invalid response:
curl http://<ip>:<port>/path -X POST -d"@<some big data file>" -H "Expect: 100-continue"
  • The same command executed against Jetty consumer works fine.

Resolution

This issue has been fixed in CAMEL-7462 in the following Camel versions - 2.12.4, 2.13.2 and 2.14.0, and will be available in Fuse 6.2 and Fuse 6.1 PATCH R1.

In order to work around this issue for Fuse 6.1 our recommendation is to use Camel Jetty component instead of camel-netty-http.

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

Comments