mirror of
https://github.com/curl/curl.git
synced 2025-09-25 13:36:49 +03:00
pop3-dele.c: Added missing CURLOPT_NOBODY following feedback
This commit is contained in:
parent
7f807f394f
commit
27ecc22649
|
@ -45,6 +45,9 @@ int main(void)
|
||||||
/* Set the DELE command */
|
/* Set the DELE command */
|
||||||
curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "DELE");
|
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 */
|
/* Perform the custom request */
|
||||||
res = curl_easy_perform(curl);
|
res = curl_easy_perform(curl);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user