Add location_url to Metadata struct

This commit is contained in:
Keith Yeung 2017-07-04 19:53:17 -07:00
parent d6c197b40c
commit 5b69d18fca
3 changed files with 8 additions and 0 deletions

View file

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