js-compute-runtime icon indicating copy to clipboard operation
js-compute-runtime copied to clipboard

Backend response headers set issue

Open guybedford opened this issue 1 year ago • 1 comments

We had a report that this was causing duplication when using beresp.headers.set().

We should ensure we either properly guard or fix this case.

guybedford avatar Oct 01 '24 17:10 guybedford

Per the spec, this should be immutable, which should throw a TypeError on Headers.prototype.set.

guybedford avatar Oct 01 '24 17:10 guybedford