partially integrate streaming request bodies with http re-direct

This commit is contained in:
Gregory Terzian 2020-05-31 12:00:55 +08:00
parent ad4dea7d84
commit c1b76533fa
6 changed files with 132 additions and 44 deletions

View file

@ -973,8 +973,7 @@ fn http_network_or_cache_fetch(
let http_request = if request_has_no_window && request.redirect_mode == RedirectMode::Error {
request
} else {
// Step 5.2
// TODO Implement body source
// Step 5.2.1, .2.2 and .2.3 and 2.4
http_request = request.clone();
&mut http_request
};