Properly set the url on the Response object when the response is an opaqueredirect

This commit is contained in:
Bastien Orivel 2020-05-06 20:08:26 +02:00
parent b290ad95c1
commit ec665d9dce
8 changed files with 10 additions and 100 deletions

View file

@ -341,7 +341,7 @@ impl Response {
unsafe_: unsafe_metadata,
}),
ResponseType::OpaqueRedirect => Ok(FetchMetadata::Filtered {
filtered: FilteredMetadata::OpaqueRedirect,
filtered: FilteredMetadata::OpaqueRedirect(url.clone()),
unsafe_: unsafe_metadata,
}),
}