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 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.