docs: explain request header validation by vibhor-aggr · Pull Request #5413 · nodejs/undici (original) (raw)

Closes #1470.

This documents how Undici handles protocol-managed request headers in options.headers, including the invalid connection header path, unsupported expect, rejected hop-by-hop headers, and special host/content-length handling. It also removes connection from the generic header example so it is not presented as an ordinary forwarded header.

Verification: