# must fail: timed_OS_200_before_base # a refinement 200 keeps the whole object it carries (session::FetchSession::take) diff --git a/wai/wai-rs/src/http_binding/session.rs b/wai/wai-rs/src/http_binding/session.rs index ec31518e..6300eea5 100644 --- a/wai/wai-rs/src/http_binding/session.rs +++ b/wai/wai-rs/src/http_binding/session.rs @@ -533,7 +533,7 @@ impl FetchSession { return Ok(()); }; match check_response(Some(r), meta, body.len() as u64, len) { - Ok(got) if class == Class::Refinement => { + Ok(got) if false && class == Class::Refinement => { // A refinement's response adds the bytes it was asked for and no // others: a `200` carrying the whole object is cut to the range. let (first, end) = (got.first.max(r.first), got.end().min(r.end()));