-
Notifications
You must be signed in to change notification settings - Fork 305
Open
Labels
P-httpProposal: wasi-httpProposal: wasi-http
Description
Consider bringing back the imports world for wasi-http.
A valid usage of wasi-http is to consume only the types (no exports) and use some other export other than the worlds in wasi:http.
While updating the wasi-testsuite with the latest rc, there is a test that uses the HTTP response type even though it's not serving/handling or making client requests. In this scenario this was a test in wasi:cli/run. To workaround the lack of an imports world, I had to implement the handler trait: https://github.com/WebAssembly/wasi-testsuite/pull/200/files#diff-496dfc45abfcebe766d04da19e6c044b10b192b03b80fe7bf97788fe4bc42c14R67-R72
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
P-httpProposal: wasi-httpProposal: wasi-http