summaryrefslogtreecommitdiff
path: root/ext/http/lib.rs
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2022-02-16 13:14:19 -0500
committerGitHub <noreply@github.com>2022-02-16 13:14:19 -0500
commitb98afb59ae43b4fcfc2bf06e82942005d7f68c7b (patch)
treeba56c8fc5b287f19892c1f584bd5c65992b766fb /ext/http/lib.rs
parent02c95d367e94f55f525646c2759558f52a493c69 (diff)
feat: deno vendor (#13670)
Diffstat (limited to 'ext/http/lib.rs')
-rw-r--r--ext/http/lib.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/http/lib.rs b/ext/http/lib.rs
index e11d42da1..312942303 100644
--- a/ext/http/lib.rs
+++ b/ext/http/lib.rs
@@ -39,7 +39,6 @@ use hyper::service::Service;
use hyper::Body;
use hyper::Request;
use hyper::Response;
-use percent_encoding::percent_encode;
use serde::Deserialize;
use serde::Serialize;
use std::borrow::Cow;
@@ -428,7 +427,7 @@ fn req_url(
// httpie uses http+unix://[percent_encoding_of_path]/ which we follow
#[cfg(unix)]
HttpSocketAddr::UnixSocket(addr) => Cow::Owned(
- percent_encode(
+ percent_encoding::percent_encode(
addr
.as_pathname()
.and_then(|x| x.to_str())