cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: .NET library

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 25 Jan 2007 09:28:20 +0100 (CET)

On Wed, 24 Jan 2007, Talal Sultan wrote:

> Thanks for the tip. I have looked in the doc for the CURLOPT to find
> something similar. Would you say that:
>
> easy.SetOpt(CURLoption.CURLOPT_HEADER, true);
>
> corresponds to the -H?

No, CURLOPT_HTTPHEADER does.

> What about the -k?

As can easily be read in the source code for curl, -k sets

  CURLOPT_SSL_VERIFYPEER to FALSE
  CURLOPT_SSL_VERIFYHOST to 1

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2007-01-25