(&self, cx: &App)
| 232 | return; |
| 233 | }; |
| 234 | |
| 235 | let headers: Vec<(String, String, bool)> = request |
| 236 | .read(cx) |
| 237 | .headers() |
| 238 | .iter() |
| 239 | .map(|h| (h.key.clone(), h.value.clone(), h.enabled)) |
| 240 | .collect(); |
| 241 | |
| 242 | if headers.is_empty() { |
| 243 | return; |
| 244 | } |
| 245 | |
| 246 | self.pending_initial_headers = Some(headers); |
| 247 | } |
no test coverage detected