aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/fetch.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/fetch.rs')
-rw-r--r--components/script/fetch.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/components/script/fetch.rs b/components/script/fetch.rs
index 66b5ee3c6ef..fe0792d857f 100644
--- a/components/script/fetch.rs
+++ b/components/script/fetch.rs
@@ -306,6 +306,7 @@ fn fill_headers_with_metadata(r: DomRoot<Response>, m: Metadata) {
r.set_headers(m.headers);
r.set_raw_status(m.status);
r.set_final_url(m.final_url);
+ r.set_redirected(m.redirected);
}
/// Convenience function for synchronously loading a whole resource.