mirror of
https://git.42l.fr/neil/sncf.git
synced 2024-05-06 07:53:11 +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
|
for (header_name, header_value) in res
|
||||||
.headers()
|
.headers()
|
||||||
.iter()
|
.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());
|
client_resp.header(header_name.clone(), header_value.clone());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue