From: Daniel Stenberg Date: Wed, 7 Aug 2002 08:23:40 +0000 (+0000) Subject: Adding more blurb about activating the cookies on COOKIEFILE and COOKIEJAR X-Git-Tag: upstream/7.37.1~15350 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=be24652d4d304929dfe7bd3f3fbc2d208ecec56e;p=platform%2Fupstream%2Fcurl.git Adding more blurb about activating the cookies on COOKIEFILE and COOKIEJAR --- diff --git a/docs/libcurl/curl_easy_setopt.3 b/docs/libcurl/curl_easy_setopt.3 index e3908c686..12087ea8f 100644 --- a/docs/libcurl/curl_easy_setopt.3 +++ b/docs/libcurl/curl_easy_setopt.3 @@ -462,6 +462,10 @@ Pass a pointer to a zero terminated string as parameter. It should contain the name of your file holding cookie data. The cookie data may be in Netscape / Mozilla cookie data format or just regular HTTP-style headers dumped to a file. + +Given an empty or non-existing file, this option will only enable cookies for +this curl handle, making it understand and parse received cookies and then use +matching cookies in future request. .TP .B CURLOPT_SSLVERSION Pass a long as parameter. Set what version of SSL to attempt to use, 2 or @@ -634,7 +638,11 @@ the provided hostname. (Added in 7.8.1) Pass a file name as char *, zero terminated. This will make libcurl dump all internally known cookies to the specified file when \fIcurl_easy_cleanup(3)\fP is called. If no cookies are known, no file will be created. Specify "-" to -instead have the cookies written to stdout. (Added in 7.9) +instead have the cookies written to stdout. Using this option also enables +cookies for this session, so if you for example follow a location it will make +matching cookies get sent accordingly. + +(Added in 7.9) .TP .B CURLOPT_SSL_CIPHER_LIST Pass a char *, pointing to a zero terminated string holding the list of