From 70142e607dda43fc778f39d52dc7bb3bba088cd3 Mon Sep 17 00:00:00 2001 From: Wolfgang Bumiller Date: Fri, 11 Feb 2022 08:55:32 +0100 Subject: [PATCH] proxmox-http: drop 'mut' on specialized request methods Signed-off-by: Wolfgang Bumiller --- proxmox-http/src/client/simple.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/proxmox-http/src/client/simple.rs b/proxmox-http/src/client/simple.rs index b58dc0f0..6e92f9d0 100644 --- a/proxmox-http/src/client/simple.rs +++ b/proxmox-http/src/client/simple.rs @@ -99,7 +99,7 @@ impl SimpleHttp { } pub async fn post( - &mut self, + &self, uri: &str, body: Option, content_type: Option<&str>, @@ -121,7 +121,7 @@ impl SimpleHttp { } pub async fn get_string( - &mut self, + &self, uri: &str, extra_headers: Option<&HashMap>, ) -> Result {