diff --git a/src/infrastructure/api.rs b/src/infrastructure/api.rs index 4b7e505..5134731 100644 --- a/src/infrastructure/api.rs +++ b/src/infrastructure/api.rs @@ -441,7 +441,11 @@ impl ApiClient { req = req.query(&[("destinationTaskList", s)]); } - let resp = req.send().await.map_err(|e| ApiError::Network(e.to_string()))?; + let resp = req + .header(reqwest::header::CONTENT_LENGTH, "0") + .send() + .await + .map_err(|e| ApiError::Network(e.to_string()))?; if !resp.status().is_success() { let status = resp.status();