Skip to content

http: fix non-string header value concatenation

Since headers are stored in an empty literal object ({}) instead of an object created with Object.create(null), care must be taken with property names inherited from Object. Currently there are only functions inherited, so we can safely check for existing strings instead.

Fixes: https://github.com/nodejs/node/issues/4456

Merge request reports

Loading