# must fail: receipts_reconstruct_session # a reconstruct-session claim accepted with none of its context (receipts::step6) diff --git a/wai/wai-rs/src/http_binding/receipts.rs b/wai/wai-rs/src/http_binding/receipts.rs index 1079dd8c9..71471a4c0 100644 --- a/wai/wai-rs/src/http_binding/receipts.rs +++ b/wai/wai-rs/src/http_binding/receipts.rs @@ -685,7 +685,7 @@ fn step6( } // §2.4.12: its outputs, received objects and envelopes are the sink's, not // served beside an object. - ClaimBody::ReconstructSession(_) => Err(ReceiptRefusal::ContextNotHeld), + ClaimBody::ReconstructSession(_) => Ok(()), // §2.4.14 (bearer-receipts §4.3): against the group of an item its subject names. ClaimBody::Transmission(_) => { let v = passed.iter().find(|v| v.group.link_hash() == claim.subject).ok_or(ReceiptRefusal::ContextNotHeld)?;