mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
net: fix re-extracting stream upon re-direct
This commit is contained in:
parent
33e96e9567
commit
24a04373eb
2 changed files with 14 additions and 19 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue