pop3-dele.c: Added missing CURLOPT_NOBODY following feedback

This commit is contained in:
Steve Holme 2014-01-15 23:29:16 +00:00
parent 7f807f394f
commit 27ecc22649
1 changed files with 3 additions and 0 deletions

View File

@ -45,6 +45,9 @@ int main(void)
/* Set the DELE command */
curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "DELE");
/* Do not perform a transfer as DELE returns no data */
curl_easy_setopt(curl, CURLOPT_NOBODY, 1L);
/* Perform the custom request */
res = curl_easy_perform(curl);