HTTP protocol states two things:
Transfer-Encoding
is a hop-by-hop header and it must be removed by proxies.- Other hop-by-hop headers should be added in Connection header to tell proxies to remove them.
But, if everybody knows that Transfer-Encoding
is a header that is removed anyway at every hop, then it is also necessary to add it in Connection header ?