-
Notifications
You must be signed in to change notification settings - Fork 302
Open
Labels
wasi-httpIssues targeted for the `wasi-http` proposalIssues targeted for the `wasi-http` proposal
Description
Consider the URL with https://[::1]/. The scheme is https, the authority is the IPv6 literal [::1], and the path-and-query is /. Wasmtime currently fails to set [::1] as an authority. I guess this is a lack of IPv6, though cc @lann for input.
Anyway let's consider that it's OK to not support IPv6. When should an error occur?
MHO: when a request is actually handled. This would be consistent with the language in the WIT:
/// It is possible to construct, or manipulate with the accessor functions
/// below, a `request` with an invalid combination of `scheme`
/// and `authority`, or `headers` which are not permitted to be sent.
/// It is the obligation of the `handler.handle` implementation
/// to reject invalid constructions of `request`.
Metadata
Metadata
Assignees
Labels
wasi-httpIssues targeted for the `wasi-http` proposalIssues targeted for the `wasi-http` proposal