cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: libcurl 7.26.0 pop3 custom command loops

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sun, 24 Jun 2012 23:06:06 +0200 (CEST)

On Sun, 24 Jun 2012, Steve Holme wrote:

>> Thanks for your advice.
>> I fixed my code and it works well.
>>     curl_easy_setopt(handle, CURLOPT_CUSTOMREQUEST, "DELE");
>>     curl_easy_setopt(handle, CURLOPT_NOBODY, 1);
>
> You're welcome... I just double checked the documentation for CUSTOMREQUEST
> and NOBODY and it's not obvious that the option should be used for the DELE
> command so I will update the documentation accordingly.

Thanks!

I can see how a casual user may not think about the necessity of using such an
option. I still think it is better to rely on that rather than to add
knowledge to the code about a specific set of commands in the way Nagai's
patch did.

-- 
  / daniel.haxx.se

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2012-06-24