summaryrefslogtreecommitdiffstatshomepage
path: root/node_modules/undici/lib/fetch/headers.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/undici/lib/fetch/headers.js')
-rw-r--r--node_modules/undici/lib/fetch/headers.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/node_modules/undici/lib/fetch/headers.js b/node_modules/undici/lib/fetch/headers.js
index 2f1c0be..fcab732 100644
--- a/node_modules/undici/lib/fetch/headers.js
+++ b/node_modules/undici/lib/fetch/headers.js
@@ -10,6 +10,7 @@ const {
isValidHeaderName,
isValidHeaderValue
} = require('./util')
+const util = require('util')
const { webidl } = require('./webidl')
const assert = require('assert')
@@ -563,6 +564,9 @@ Object.defineProperties(Headers.prototype, {
[Symbol.toStringTag]: {
value: 'Headers',
configurable: true
+ },
+ [util.inspect.custom]: {
+ enumerable: false
}
})