cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Getting CURLOPT_HTTPHEADER back to normal?

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Sun, 27 Jun 2004 23:15:43 +0200 (CEST)

On Fri, 25 Jun 2004, Casey ODonnell wrote:

> When you set:
>
> curl_easy_setopt(m_pCURL, CURLOPT_CUSTOMREQUEST, "DELETE");
>
> Do you get it back to normal with:
>
> curl_easy_setopt(m_pCURL, CURLOPT_CUSTOMREQUEST, NULL);
> or
> curl_easy_setopt(m_pCURL, CURLOPT_CUSTOMREQUEST, "");
>
> I assumed the NULL and it seems to be working well.

NULL it is. Adding to docs just now!

-- 
      Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se
       Dedicated custom curl help for hire: http://haxx.se/curl.html
Received on 2004-06-27