(name: &str)
| 149 | } |
| 150 | |
| 151 | fn should_strip_request_header(name: &str) -> bool { |
| 152 | matches!( |
| 153 | name, |
| 154 | "authorization" | "x-api-key" | "host" | "content-length" |
| 155 | ) || is_hop_by_hop_header(name) |
| 156 | } |
| 157 | |
| 158 | fn is_hop_by_hop_header(name: &str) -> bool { |
| 159 | matches!( |
no test coverage detected