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 {