diff --git a/components/net/fetch/methods.rs b/components/net/fetch/methods.rs index b98859c6a29..54edee43e92 100644 --- a/components/net/fetch/methods.rs +++ b/components/net/fetch/methods.rs @@ -478,7 +478,7 @@ fn wait_for_response(response: &mut Response, target: Target, done_chan: &mut Do } } } else { - let body = response.body.lock().unwrap(); + let body = response.actual_response().body.lock().unwrap(); if let ResponseBody::Done(ref vec) = *body { // in case there was no channel to wait for, the body was // obtained synchronously via scheme_fetch for data/file/about/etc