summaryrefslogtreecommitdiff
path: root/cli/http_util.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/http_util.rs')
-rw-r--r--cli/http_util.rs10
1 files changed, 0 insertions, 10 deletions
diff --git a/cli/http_util.rs b/cli/http_util.rs
index f54684f15..1a8fcab62 100644
--- a/cli/http_util.rs
+++ b/cli/http_util.rs
@@ -170,16 +170,6 @@ pub struct HttpBody {
pos: usize,
}
-impl HttpBody {
- pub fn from(body: Response) -> Self {
- Self {
- response: body,
- chunk: None,
- pos: 0,
- }
- }
-}
-
impl AsyncRead for HttpBody {
fn poll_read(
self: Pin<&mut Self>,