Fabric HTTP Gateway incompatibility with HTTP RFC 7230 specification

Solution Unverified - Updated -

Issue

Fabric HTTP Gateway adds "Transfer-Encoding" header field to Response 204.

However, the specification RFC 7230 (https://tools.ietf.org/html/rfc7230) section 3.3.1 clearly says that the "Transfer-Encoding" header field should not be returned in any response with status 204 (No Content) [1]:

A server MUST NOT send a Transfer-Encoding header field in any
response with a status code of 1xx (Informational) or 204 (No
Content). A server MUST NOT send a Transfer-Encoding header field in
any 2xx (Successful) response to a CONNECT request (Section 4.3.6 of
[RFC7231]).

[1] https://tools.ietf.org/html/rfc7230#section-3.3.1

Environment

  • JBoss Fuse
    • 6.2.1
    • 6.3

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