summaryrefslogtreecommitdiff
path: root/runtime/web_worker.rs
diff options
context:
space:
mode:
authorMatt Mastracci <matthew@mastracci.com>2023-05-10 16:23:26 +0200
committerGitHub <noreply@github.com>2023-05-10 16:23:26 +0200
commit29aa988476ee968ea00f9c026ae276d72c316476 (patch)
treeb69fc5a4094b9b2df3f9edc3e66b182413e3aa6c /runtime/web_worker.rs
parent234cef982c12a6c46aa8ba3787920f7b9a856be3 (diff)
refactor(core): http_next generic over request extractor (#19071)
Diffstat (limited to 'runtime/web_worker.rs')
-rw-r--r--runtime/web_worker.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/web_worker.rs b/runtime/web_worker.rs
index 6487239f8..d8c881ab7 100644
--- a/runtime/web_worker.rs
+++ b/runtime/web_worker.rs
@@ -35,6 +35,7 @@ use deno_core::SharedArrayBufferStore;
use deno_core::Snapshot;
use deno_core::SourceMapGetter;
use deno_fs::FileSystem;
+use deno_http::DefaultHttpPropertyExtractor;
use deno_io::Stdio;
use deno_kv::sqlite::SqliteDbHandler;
use deno_tls::RootCertStoreProvider;
@@ -439,7 +440,7 @@ impl WebWorker {
unstable,
),
deno_napi::deno_napi::init_ops::<PermissionsContainer>(),
- deno_http::deno_http::init_ops(),
+ deno_http::deno_http::init_ops::<DefaultHttpPropertyExtractor>(),
deno_io::deno_io::init_ops(Some(options.stdio)),
deno_fs::deno_fs::init_ops::<PermissionsContainer>(
unstable,