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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content