net: fix re-extracting stream upon re-direct

This commit is contained in:
Gregory Terzian 2020-06-11 01:02:03 +08:00
parent 33e96e9567
commit 24a04373eb
2 changed files with 14 additions and 19 deletions

View file

@ -911,8 +911,8 @@ pub fn http_redirect_fetch(
}
// Step 12
if let Some(_) = request.body {
// TODO: extract request's body's source
if let Some(body) = request.body.as_mut() {
body.extract_source();
}
// Step 13