diff options
-rw-r--r-- | src/bun.js/api/server.zig | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bun.js/api/server.zig b/src/bun.js/api/server.zig index 65c85adcf..2b35e68ca 100644 --- a/src/bun.js/api/server.zig +++ b/src/bun.js/api/server.zig @@ -1961,9 +1961,9 @@ fn NewRequestContext(comptime ssl_enabled: bool, comptime debug_mode: bool, comp // uWS automatically adds the status line if needed // we want to batch network calls as much as possible - // if (!(this.response_ptr.?.statusCode() == 200 and this.response_ptr.?.body.init.headers == null)) { - // } - this.renderMetadata(); + if (!(this.response_ptr.?.statusCode() == 200 and this.response_ptr.?.body.init.headers == null)) { + this.renderMetadata(); + } stream.value.ensureStillAlive(); var response_stream = this.allocator.create(ResponseStream.JSSink) catch unreachable; |