diff options
Diffstat (limited to 'ext/node/polyfills/http.ts')
-rw-r--r-- | ext/node/polyfills/http.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/node/polyfills/http.ts b/ext/node/polyfills/http.ts index 27fc577c0..d45854162 100644 --- a/ext/node/polyfills/http.ts +++ b/ext/node/polyfills/http.ts @@ -1394,7 +1394,7 @@ export class ServerResponse extends NodeWritable { } getHeader(name: string) { - return this.#headers.get(name); + return this.#headers.get(name) ?? undefined; } removeHeader(name: string) { return this.#headers.delete(name); |