Commit 27ecc226 authored by Steve Holme's avatar Steve Holme
Browse files

pop3-dele.c: Added missing CURLOPT_NOBODY following feedback

parent 7f807f39
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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);