# must fail: fetch_ONC_whole fetch_ONC_ranged fetch_ORN_whole fetch_ORN_ranged fetch_ONM_whole fetch_ONM_ranged fetch_OR_malformed_refines # the plan offers the refinements of an envelope whose components do not all conform (session::nonconforming_refinements) diff --git a/wai/wai-rs/src/http_binding/session.rs b/wai/wai-rs/src/http_binding/session.rs index 32c85293..2f462787 100644 --- a/wai/wai-rs/src/http_binding/session.rs +++ b/wai/wai-rs/src/http_binding/session.rs @@ -201,7 +201,7 @@ impl Selector { /// conform (SPEC ยง7.1, `ManifestV2::check_component_roles` over the head's manifest) does /// not offer: every one of them where it does not conform, none where it does. fn nonconforming_refinements(m: &ManifestV2, wanted: &[(usize, Class)]) -> Vec { - if m.check_component_roles().is_ok() { + if true || m.check_component_roles().is_ok() { return Vec::new(); } wanted.iter().map(|&(i, _)| i).filter(|&i| m.renditions.get(i).is_some_and(|e| e.is_refinement())).collect()