... you probably want to keep this TODO however, because of the behavior where setting a header _replaces_ the existing headers with that name rather than _adding_ a new header.

There's three places to add headers. What are the precedence rules?