The sensitiveHeaders
HTTP2 symbol should be initialized via Symbol.for
instead
#36282
Labels
http2
Issues or PRs related to the http2 subsystem.
Is your feature request related to a problem? Please describe.
node/lib/internal/http2/util.js
Line 35 in 6eec858
Currently to use the symbol we need to import it from the
http2
module. A better solution would be to useSymbol.for
like in the case of custom inspect symbol.Describe the solution you'd like
Describe alternatives you've considered
None.
The text was updated successfully, but these errors were encountered: