mirror of
https://github.com/servo/servo.git
synced 2025-08-02 20:20:14 +01:00
Net side of XHR fetch integration
This commit is contained in:
parent
b5255f011e
commit
2cbc8dee25
5 changed files with 107 additions and 6 deletions
|
@ -847,6 +847,7 @@ fn http_network_fetch(request: Rc<Request>,
|
|||
Ok((mut res, _)) => {
|
||||
response.url = Some(res.response.url.clone());
|
||||
response.status = Some(res.response.status);
|
||||
response.raw_status = Some(res.response.status_raw().clone());
|
||||
response.headers = res.response.headers.clone();
|
||||
|
||||
let res_body = response.body.clone();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue