Skip to content

http: don't inherit from Object.prototype

Checklist
  • tests and code linting passes
  • a test and/or benchmark is included
  • the commit message follows commit guidelines
Affected core subsystem(s)
  • http
Description of change

This commit safely allows header names that are named the same as properties that are ordinarily inherited from Object.prototype such as __proto__.

Merge request reports

Loading