Copying http-party/node-http-proxy#1488 : hop-to-hop headers shouldn't be included in proxied requests/responses:
- Connection
- Keep-Alive
- Proxy-Authenticate
- Proxy-Authorization
- TE
- Trailers
- Transfer-Encoding
- Upgrade
Of these, I think only Upgrade is handled correctly, and Connection is okay, though maybe not all the way right. transfer-encoding is not right and I think the rest are ignored and passed-through. Other than Connection, these are all pretty rare, so it doesn't come up, but probably worth addressing.
relevant RFC section
Copying http-party/node-http-proxy#1488 : hop-to-hop headers shouldn't be included in proxied requests/responses:
Of these, I think only Upgrade is handled correctly, and Connection is okay, though maybe not all the way right. transfer-encoding is not right and I think the rest are ignored and passed-through. Other than Connection, these are all pretty rare, so it doesn't come up, but probably worth addressing.
relevant RFC section