node/lib/internal/http2
Tim Perry 8103a78b6a
http2: add strictSingleValueFields option to relax header validation
Previously it was impossible to send multiple values for any header
or trailer defined officially as supporting only a single value.

This is a good default, but in practice many of these headers are used
in weird & wonderful ways where this can be problematic. This new
option allows for relaxing this restriction to support those cases
where required.

This option defaults to true so validation will still be applied
as before, rejecting multiple single-value fields, unless explicitly
disabled.

PR-URL: https://github.com/nodejs/node/pull/59917
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
2026-02-22 01:07:47 +01:00
..
compat.js http2,zlib: prefer call() over apply() if argument list is not array 2026-01-13 10:04:41 -03:00
core.js http2: add strictSingleValueFields option to relax header validation 2026-02-22 01:07:47 +01:00
util.js http2: add strictSingleValueFields option to relax header validation 2026-02-22 01:07:47 +01:00