Skip to content

Commit a37a317

Browse files
authored
improv(event-handler): ended response stream when body is null (#4651)
1 parent 4294cb1 commit a37a317

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/event-handler/src/rest/Router.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -350,6 +350,7 @@ class Router {
350350
await pipeline(nodeStream, resStream);
351351
} else {
352352
resStream.write('');
353+
resStream.end();
353354
}
354355
}
355356

0 commit comments

Comments
 (0)