open-standards/wai/http-conformance/falsify/dispatch-layer.patch
Transaction Science 909312ce15 wai: falsification patches for the fix round, and the four the rewrite moved, regenerated
New: threshold-all, refusal-ends, reuse-stale, plus-sign, dispatch-layer,
union-no-layer, wai-prefix-case, dup-caps, record-alt, base-unanswered, each
naming the corpus cases it must fail. accept-gzip, trust-content-range,
skip-on-absent and intersection are the same defects written against the
current code.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-05 09:35:08 -04:00

15 lines
799 B
Diff

# must fail: fetch_O10L1_discovered
# a layer is dispatched under SPEC §4 (session::advance_head)
diff --git a/wai/wai-rs/src/http_binding/session.rs b/wai/wai-rs/src/http_binding/session.rs
index 4730c192..44fa50f2 100644
--- a/wai/wai-rs/src/http_binding/session.rs
+++ b/wai/wai-rs/src/http_binding/session.rs
@@ -575,7 +575,7 @@ impl FetchSession {
}
self.head = Some(head.clone());
match head.version {
- Version::Wai1 if head.is_layer() => {
+ Version::Wai1 if false && head.is_layer() => {
// A layer goes to staged delivery, never to SPEC §4 (§10.4): the rest of
// it at refinement class, then the whole envelope against the cid.
self.to_rest(&head, WhyWhole::Layer, Class::Refinement);