tomasol opened issue #14190:
When using a
p2component,default_send_requestis no longer adds aHostheader to outbound HTTP/1.1 requests.
This is a regression from Wasmtime 47.0.3, appears to originate in #13812 .Test Case
Steps to Reproduce
- Apply the test patch to Wasmtime 48.0.0.
- Run
cargo test -p wasmtime-wasi-http --test all p2_http_outbound_request_get- Inspect the received request.
Expected Results
The tests pass because a Host header matching the request authority is added to the outgoing request.
Actual Results
The tests fail because the Host header is not sent.
Versions and Environment
Wasmtime version: 48.0.0
tomasol added the bug label to Issue #14190.
tomasol closed issue #14190:
When using a
p2component,default_send_requestis no longer adds aHostheader to outbound HTTP/1.1 requests.
This is a regression from Wasmtime 47.0.3, appears to originate in #13812 .Test Case
Steps to Reproduce
- Apply the test patch to Wasmtime 48.0.0.
- Run
cargo test -p wasmtime-wasi-http --test all p2_http_outbound_request_get- Inspect the received request.
Expected Results
The tests pass because a Host header matching the request authority is added to the outgoing request.
Actual Results
The tests fail because the Host header is not sent.
Versions and Environment
Wasmtime version: 48.0.0
tomasol commented on issue #14190:
Already fixed by https://github.com/bytecodealliance/wasmtime/pull/14167
Last updated: Aug 30 2026 at 10:08 UTC