summaryrefslogtreecommitdiff
path: root/ext/http/01_http.js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/http/01_http.js')
-rw-r--r--ext/http/01_http.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/http/01_http.js b/ext/http/01_http.js
index 7db3fdbe8..2ab2fea7b 100644
--- a/ext/http/01_http.js
+++ b/ext/http/01_http.js
@@ -239,7 +239,9 @@
try {
await core.opAsync(
"op_http_write_headers",
- [streamRid, innerResp.status ?? 200, innerResp.headerList],
+ streamRid,
+ innerResp.status ?? 200,
+ innerResp.headerList,
isStreamingResponseBody ? null : respBody,
);
} catch (error) {