diff --git a/src/netcode/http-mserv.c b/src/netcode/http-mserv.c
index 10137e67b042cef0cd192d00d7d4fcbb62d5b842..2b52380cf506f00f119dc01b5f0ab3b47ff4e6f6 100644
--- a/src/netcode/http-mserv.c
+++ b/src/netcode/http-mserv.c
@@ -493,7 +493,8 @@ HMS_unlist (void)
 	if (! hms)
 		return 0;
 
-	curl_easy_setopt(hms->curl, CURLOPT_CUSTOMREQUEST, "POST");
+	curl_easy_setopt(hms->curl, CURLOPT_POST, 1);
+	curl_easy_setopt(hms->curl, CURLOPT_POSTFIELDSIZE, 0);
 
 	ok = HMS_do(hms);
 	HMS_end(hms);
@@ -508,7 +509,8 @@ HMS_unlist (void)
 		if (! hms)
 			return 0;
 
-		curl_easy_setopt(hms->curl, CURLOPT_CUSTOMREQUEST, "POST");
+		curl_easy_setopt(hms->curl, CURLOPT_POST, 1);
+		curl_easy_setopt(hms->curl, CURLOPT_POSTFIELDSIZE, 0);
 
 		ok = HMS_do(hms);
 		HMS_end(hms);