mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
Auto merge of #17521 - KiChjang:update-fetch, r=jdm
Update fetch methods Includes updates to main fetch, scheme fetch, HTTP fetch, HTTP-redirect fetch, HTTP-network fetch, HTTP-network-or-cache fetch and CORS preflight fetch. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/17521) <!-- Reviewable:end -->
This commit is contained in:
commit
9f64630eaa
9 changed files with 259 additions and 261 deletions
|
@ -103,6 +103,7 @@ impl NetworkListener {
|
|||
|
||||
self.res_init = Some(ResponseInit {
|
||||
url: metadata.final_url.clone(),
|
||||
location_url: metadata.location_url.clone(),
|
||||
headers: headers.clone().into_inner(),
|
||||
referrer: metadata.referrer.clone(),
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue