mirror of
https://github.com/nodejs/node.git
synced 2026-11-24 21:50:36 -05:00
Make it possible to invoke response.setHeaders() on the Http2ServerResponse object, matching the http.OutgoingMessage API. Fixes: https://github.com/nodejs/node/issues/51573 Refs: https://github.com/nodejs/node/pull/51576 Signed-off-by: jakecastelli <38635403+jakecastelli@users.noreply.github.com> Signed-off-by: Mikhail Leliakin <leliakin@canva.com> Co-authored-by: Mikhail Leliakin <leliakin@canva.com> Assisted-by: Cursor PR-URL: https://github.com/nodejs/node/pull/67597 Reviewed-By: Jason Zhang <xzha4350@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com>