summaryrefslogtreecommitdiff
path: root/ext/http/01_http.js
diff options
context:
space:
mode:
authorDivy Srivastava <dj.srivastava23@gmail.com>2022-04-04 15:19:35 +0530
committerGitHub <noreply@github.com>2022-04-04 15:19:35 +0530
commitcc49b5e0d80f0c27e90af6ae520a0fec59e577c6 (patch)
treef31463336c7b02ede9d6901ad16bfde8f3a6abb2 /ext/http/01_http.js
parent6bb555b549a203ebe921260379f3da70787be655 (diff)
chore(ext/http): custom arity (#14200)
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) {