-
-
Notifications
You must be signed in to change notification settings - Fork 34.6k
Open
Labels
http2Issues or PRs related to the http2 subsystem.Issues or PRs related to the http2 subsystem.
Description
Is your feature request related to a problem? Please describe.
node/lib/internal/http2/util.js
Line 35 in 6eec858
| const kSensitiveHeaders = Symbol('nodejs.http2.sensitiveHeaders'); |
Currently to use the symbol we need to import it from the http2 module. A better solution would be to use Symbol.for like in the case of custom inspect symbol.
Describe the solution you'd like
-const kSensitiveHeaders = Symbol('nodejs.http2.sensitiveHeaders');
+const kSensitiveHeaders = Symbol.for('nodejs.http2.sensitiveHeaders');Describe alternatives you've considered
None.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
http2Issues or PRs related to the http2 subsystem.Issues or PRs related to the http2 subsystem.