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, 2 insertions, 2 deletions
diff --git a/ext/http/01_http.js b/ext/http/01_http.js
index de546285d..877342428 100644
--- a/ext/http/01_http.js
+++ b/ext/http/01_http.js
@@ -111,7 +111,7 @@
return null;
}
- const [streamRid, method, headersList, url] = nextRequest;
+ const [streamRid, method, url] = nextRequest;
SetPrototypeAdd(this.managedResources, streamRid);
/** @type {ReadableStream<Uint8Array> | undefined} */
@@ -126,7 +126,7 @@
const innerRequest = newInnerRequest(
method,
url,
- headersList,
+ () => core.opSync("op_http_headers", streamRid),
body !== null ? new InnerBody(body) : null,
false,
);