From 44286ac8c502b84b065a1848462bb85d8dee2809 Mon Sep 17 00:00:00 2001 From: neil Date: Sat, 22 Aug 2020 20:14:20 +0200 Subject: [PATCH] removing superfluous authorization header removal --- src/forward.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/forward.rs b/src/forward.rs index 229ac17..caca935 100644 --- a/src/forward.rs +++ b/src/forward.rs @@ -59,7 +59,7 @@ pub async fn forward( for (header_name, header_value) in res .headers() .iter() - .filter(|(h, _)| *h != "connection" && *h != "content-encoding" && *h != "authorization") + .filter(|(h, _)| *h != "connection" && *h != "content-encoding") { client_resp.header(header_name.clone(), header_value.clone()); }