diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/client.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client.rs b/src/client.rs index 95643a1..507f845 100644 --- a/src/client.rs +++ b/src/client.rs @@ -41,6 +41,7 @@ pub const ZOTAPI_GROUP_MEMBERS_PATH : &str = "/api/z/1.0/group_members"; pub const ZOTAPI_ITEM_UPDATE_PATH : &str = "/api/z/1.0/item/update"; pub const ZOTAPI_XCHAN_PATH : &str = "/api/z/1.0/xchan"; +#[derive(Debug)] pub struct Client { inner: reqwest::Client, base_url: String, @@ -144,7 +145,6 @@ impl Client { let res = self.inner.post(&url) .basic_auth(self.user.clone(), Some(self.pw.clone())) - .header(CONTENT_TYPE, "multipart/form-data") .multipart(form) .send()?; |