CXF request via gateway-http add "Content-Length and Transfer-Encoding:chunked" in response headers

Solution Verified - Updated -

Issue

Request goes through gateway-http and the response that is being sent contains both the content-length as well as transfer-encoding headers set.

e.g;

HTTP/1.1 200 OK
Date: Fri, 19 Jan 2018 09:52:16 GMT
Content-Type: application/xml
Date: Fri, 19 Jan 2018 09:52:16 GMT
Content-Length: 980
Connection: close
Server: Jetty(9.2.19.v20160908)
Transfer-Encoding: chunked.

Environment

  • Red Hat JBoss Fuse
    • 6.3.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.