Transfer-Encoding header specifies the form of encoding used to safely transfer the payload body to the user.
Note: HTTP/2 doesn't support HTTP 1.1's chunked transfer encoding mechanism, as it provides its own, more efficient, mechanisms for data streaming.
Transfer-Encoding is a hop-by-hop header, that is applied to a message between two nodes, not to a resource itself. Each segment of a multi-node connection can use different
Transfer-Encoding values. If you want to compress data over the whole connection, use the end-to-end
Content-Encoding header instead.