Repository navigation
Path with query tests - #282
Merged
saulecabrera merged 4 commits intoAug 10, 2026
Merged
Conversation
This commit adds proper roundtrip tests for client status and method ensuring that the request reaches the server and response reaches back the client with the appropriate expectations.
This builds on top of WebAssembly#279 and adds test to exercise headers from the perspective of the http client. This commit switches the `/echo` convention into a proper configuration option, called `mode`. `mode`, will configure the action that needs to be taken by the server in terms of response body and headers.
Builds on top of WebAssembly#280 This commits adds a tests covering two cases for `client.send`: 1. Invalid authority 2. Closed authority Additionally, in order to enable coverage for the cases above, this commit augments the configuration by introducing a top level `servers` configuration key. This allows creating servers for different purposes, e.g., one that will be listening for the life span of the test and other that will be closed immediately, to test closed connection scenarios.
Builds on top of WebAssembly#281 This commit adds test for `path-with-query`; the test marked as expected to fail depends on WebAssembly/WASI#949. The normalization of `some("")` to `/` depends on WebAssembly/WASI#780
andreiltd
approved these changes
Aug 10, 2026
This was referenced Aug 10, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Builds on top of #281
This commit adds test for
path-with-query; the test marked as expectedto fail depends on WebAssembly/WASI#949.
The normalization of
some("")to/depends on WebAssembly/WASI#780