diff --git a/src/httpfetch.cpp b/src/httpfetch.cpp
index f10351a01a30d159ec994cb4e66412e1c0236939..1a19dd082a463aafbbe75981617261b78cffb15f 100644
--- a/src/httpfetch.cpp
+++ b/src/httpfetch.cpp
@@ -262,7 +262,7 @@ HTTPFetchOngoing::HTTPFetchOngoing(HTTPFetchRequest request_, CurlHandlePool *po
 	}
 
 	// Set POST (or GET) data
-	if (request.post_fields.empty()) {
+	if (request.post_fields.empty() && request.post_data.empty()) {
 		curl_easy_setopt(curl, CURLOPT_HTTPGET, 1);
 	} else if (request.multipart) {
 		curl_httppost *last = NULL;