pub fn request(
base_url: &str,
method: &str,
path: &str,
headers: &[(&str, &str)],
body: Option<&str>,
timeout: Duration,
) -> Result<Reply>Expand description
One HTTP/1.1 request to base_url (http://host:port), with Connection: close.