cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Cooke is not sent when url in location header has a port

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 28 Dec 2011 00:58:17 +0100 (CET)

On Tue, 27 Dec 2011, Alex Vinnik wrote:

> Magic. Thanks Daniel. How do I achieve similar effect using API?

As --libcurl would tell, CURLOPT_COOKIEFILE is your friend for that:

   http://curl.haxx.se/libcurl/c/curl_easy_setopt.html#CURLOPTCOOKIEFILE

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2011-12-28