Skip to content

p3(http): Assert request get-{authority,scheme} - #272

Merged
saulecabrera merged 1 commit into
WebAssembly:mainfrom
saulecabrera:req-uri
Jul 15, 2026
Merged

p3(http): Assert request get-{authority,scheme}#272
saulecabrera merged 1 commit into
WebAssembly:mainfrom
saulecabrera:req-uri

Conversation

@saulecabrera

Copy link
Copy Markdown
Collaborator

This commit tests the presence of the authority and scheme in the inbound http request.

The presence/absence of these fields in the inbound request is currently not finalized in the spec1, hence why this test is expected to fail.

This commit tests the presence of the authority and scheme in the
inbound http request.

The presence/absence of these fields in the inbound request is currently
not finalized in the spec[1], hence why this test is expected to fail.

[1]: WebAssembly/WASI#788
@saulecabrera
saulecabrera requested a review from andreiltd as a code owner July 15, 2026 17:41
@saulecabrera

Copy link
Copy Markdown
Collaborator Author

I will note, for posterity, that p2, at least in Wasmtime, does derive the authority/scheme from the host, see bytecodealliance/wasmtime#8923

@saulecabrera
saulecabrera merged commit 310c04c into WebAssembly:main Jul 15, 2026
5 checks passed
@saulecabrera
saulecabrera deleted the req-uri branch July 15, 2026 17:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants