(
mut builder: ureq::RequestBuilder<B>,
headers: &[(String, String)],
)
| 601 | match shared_agent { |
| 602 | Some(agent) => agent.clone(), |
| 603 | None => { |
| 604 | return HttpEvent::Failed(HttpError::new( |
| 605 | id, |
| 606 | url, |
| 607 | HttpErrorKind::Config, |
| 608 | "failed to create cookie-enabled http agent", |
| 609 | )); |
| 610 | } |
| 611 | } |
| 612 | } else { |
| 613 | match build_agent(config) { |
| 614 | Ok(agent) => agent, |
no test coverage detected