proxmox-http: drop 'mut' on specialized request methods

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
Wolfgang Bumiller 2022-02-11 08:55:32 +01:00
parent 86f3c90763
commit 70142e607d

View File

@ -99,7 +99,7 @@ impl SimpleHttp {
}
pub async fn post(
&mut self,
&self,
uri: &str,
body: Option<String>,
content_type: Option<&str>,
@ -121,7 +121,7 @@ impl SimpleHttp {
}
pub async fn get_string(
&mut self,
&self,
uri: &str,
extra_headers: Option<&HashMap<String, String>>,
) -> Result<String, Error> {