summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/http/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/http/lib.rs b/ext/http/lib.rs
index add4e259f..eac09a1ec 100644
--- a/ext/http/lib.rs
+++ b/ext/http/lib.rs
@@ -283,7 +283,7 @@ fn req_url(
Cow::Owned(addr.to_string())
};
let path = req.uri().path_and_query().map_or("/", |p| p.as_str());
- Ok(format!("{}://{}{}", scheme, host, path))
+ Ok([scheme, "://", &host, path].concat())
}
fn req_headers(