Net side of XHR fetch integration

This commit is contained in:
Manish Goregaokar 2016-05-30 17:01:12 +05:30
parent b5255f011e
commit 2cbc8dee25
5 changed files with 107 additions and 6 deletions

View file

@ -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();