mirror of
https://git.proxmox.com/git/proxmox
synced 2025-08-02 16:05:48 +00:00
proxmox-http: drop 'mut' on specialized request methods
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
parent
86f3c90763
commit
70142e607d
@ -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> {
|
||||
|
Loading…
Reference in New Issue
Block a user