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: Tue, 22 Jun 2004 19:19:54 +0200 (CEST)

On Tue, 22 Jun 2004, Casey ODonnell wrote:

> How do I tell LibCURL to just get rid of that header, and go back to its
> standard headers?

Set it to NULL:

  curl_easy_setopt(handle, CURLOPT_HTTPHEADER, NULL);

-- 
      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-22