mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
Update response handling in main_fetch (#34570)
Signed-off-by: Shane Handley <shanehandley@fastmail.com>
This commit is contained in:
parent
3f85a27097
commit
bd37d5496d
5 changed files with 11 additions and 30 deletions
|
@ -1086,16 +1086,8 @@ pub async fn http_redirect_fetch(
|
|||
let recursive_flag = request.redirect_mode != RedirectMode::Manual;
|
||||
|
||||
// Step 22: Return the result of running main fetch given fetchParams and recursive.
|
||||
let fetch_response = main_fetch(
|
||||
request,
|
||||
cache,
|
||||
cors_flag,
|
||||
recursive_flag,
|
||||
target,
|
||||
done_chan,
|
||||
context,
|
||||
)
|
||||
.await;
|
||||
let fetch_response =
|
||||
main_fetch(request, cache, recursive_flag, target, done_chan, context).await;
|
||||
|
||||
// TODO: timing allow check
|
||||
context
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue