1
0
Fork 0
mirror of https://git.42l.fr/neil/sncf.git synced 2024-04-26 03:20:29 +02:00

removing superfluous authorization header removal

This commit is contained in:
neil 2020-08-22 20:14:20 +02:00
parent 2b6fb1baa1
commit 44286ac8c5

View file

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