We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
null
undefined
1 parent 7d98afa commit 11ca404Copy full SHA for 11ca404
1 file changed
packages/start/src/server/fetchEvent.ts
@@ -53,7 +53,7 @@ class HeaderProxy {
53
return Array.isArray(h) ? h.join(", ") : (h as string) || null;
54
}
55
has(key: string) {
56
- return this.get(key) !== undefined;
+ return this.get(key) !== null;
57
58
set(key: string, value: string) {
59
return setResponseHeader(this.event, key, value);
0 commit comments