https://github.com/seanmonstar/reqwest/commit/e0f7787a2eb0cdf40a7d437021461397bcce0e73.patch
Index: modcargo-crates/reqwest-0.11.11/src/async_impl/client.rs
--- modcargo-crates/reqwest-0.11.11/src/async_impl/client.rs.orig
+++ modcargo-crates/reqwest-0.11.11/src/async_impl/client.rs
@@ -1965,7 +1965,7 @@ impl Future for PendingRequest {
                         .check(res.status(), &loc, &self.urls);
 
                     match action {
-                        redirect::ActionKind::Follow => {
+                        redirect::ActionKind::Follow(is_trusted) => {
                             debug!("redirecting '{}' to '{}'", self.url, loc);
 
                             if self.client.https_only && loc.scheme() != "https" {
@@ -1979,7 +1979,9 @@ impl Future for PendingRequest {
                             let mut headers =
                                 std::mem::replace(self.as_mut().headers(), HeaderMap::new());
 
-                            remove_sensitive_headers(&mut headers, &self.url, &self.urls);
+                            if !is_trusted {
+                                remove_sensitive_headers(&mut headers, &self.url, &self.urls);
+                            }
                             let uri = expect_uri(&self.url);
                             let body = match self.body {
                                 Some(Some(ref body)) => Body::reusable(body.clone()),
