Closed radu-matei closed 3 years ago
I am unsure if we should merge this in the current state.
Particularly, this has to do with the way we allow the hosts that guest modules are allowed to make requests to.
Currently, if no allowed_hosts
has been passed, guest modules are allowed to make requests to any server, which might be counter-intuitive (and actually opposed to every other capability in both WAGI and upstream WASI).
Tracking this in https://github.com/deislabs/wasi-experimental-http/issues/37 as well.
Addressed this in https://github.com/deislabs/wasi-experimental-http/pull/39. Once that is merged and a new crate version is published, I will update this PR.
This PR adds initial support for outbound HTTP requests from guest modules running in WAGI using https://github.com/deislabs/wasi-experimental-http.
As part of this PR, Wasmtime is also updated to 0.24.
ref #14