C-367: compare http.serve by status code, header set and de-framed body, not raw bytes - #108
Merged
Merged
Conversation
…header set and de-framed body Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
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.
The response half of ADR-0020 §7.1 (almide/almide#2695), which almide/almide#2700 (ADR-0020 step 6) needs before its replay driver can compare HTTP semantics instead of bytes.
What changes in C-367 (statement, title, ALS-R5 prose, the fixture's header comment):
date,connection,keep-alive,transfer-encodingandcontent-lengthare excluded. The body is compared de-framed.418 OKnatively and418 I'm a teapotunder hyper, measured by the http.serve on stock wasm artifacts: a build --target wasm shape for the server (wasi:sockets p3 or an incoming-handler export) almide#2659 prototype.What does not change: the one-instance, sequential, accept-order semantics and the
/bootcapture, the request readers, the handler-err 500, the bind abort, and the stdout rule. The rest of §7.1 lands with the ADR steps that make it true:wasi:httpexport host: step 7.This PR does not describe any of them yet.
ALS-R5 re-stamped (
proofs/als-validation.toml); README regenerated. Local gates: check-contracts, provenance, element coverage, style, validation, links, gate-verification, and the conformance self-test all pass.