summaryrefslogtreecommitdiff
path: root/runtime/js/40_http.js
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/js/40_http.js')
-rw-r--r--runtime/js/40_http.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/js/40_http.js b/runtime/js/40_http.js
index 3916b1df4..45361ee34 100644
--- a/runtime/js/40_http.js
+++ b/runtime/js/40_http.js
@@ -130,7 +130,7 @@
zeroCopyBuf = null;
}
- const responseBodyRid = Deno.core.opSync("op_http_response", [
+ const responseBodyRid = await Deno.core.opAsync("op_http_response", [
responseSenderRid,
resp.status ?? 200,
flattenHeaders(resp.headers),