(name: &header::HeaderName)
| 526 | } |
| 527 | |
| 528 | fn is_gateway_auth_header(name: &header::HeaderName) -> bool { |
| 529 | matches!( |
| 530 | name.as_str(), |
| 531 | "authorization" |
| 532 | | "cf-access-jwt-assertion" |
| 533 | | "x-forwarded-client-cert" |
| 534 | | "x-ssl-client-cert" |
| 535 | | "x-client-cert" |
| 536 | ) |
| 537 | } |
| 538 | |
| 539 | fn sanitize_cookie_header(value: &HeaderValue) -> Option<HeaderValue> { |
| 540 | let value = value.to_str().ok()?; |
no outgoing calls
no test coverage detected