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:
parent
2b6fb1baa1
commit
44286ac8c5
|
@ -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());
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue