From: Jay Satiro Date: Fri, 19 Feb 2016 02:07:57 +0000 (-0500) Subject: CURLOPT_COOKIEFILE.3: HTTP headers must be Set-Cookie style X-Git-Tag: curl-7_48_0~124 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bdaaba53159d7888be5f319c47ca58ef875a70f4;p=thirdparty%2Fcurl.git CURLOPT_COOKIEFILE.3: HTTP headers must be Set-Cookie style Bug: https://github.com/curl/curl/issues/666 Reported-by: baumanj@users.noreply.github.com --- diff --git a/docs/libcurl/opts/CURLOPT_COOKIEFILE.3 b/docs/libcurl/opts/CURLOPT_COOKIEFILE.3 index 9c0247de57..00816b15dd 100644 --- a/docs/libcurl/opts/CURLOPT_COOKIEFILE.3 +++ b/docs/libcurl/opts/CURLOPT_COOKIEFILE.3 @@ -30,8 +30,8 @@ CURLcode curl_easy_setopt(CURL *handle, CURLOPT_COOKIEFILE, char *filename); .SH DESCRIPTION Pass a pointer to a zero terminated string as parameter. It should point to the file name of your file holding cookie data to read. The cookie data can be -in either the old Netscape / Mozilla cookie data format or just regular -HTTP-style headers dumped to a file. +in either the old Netscape / Mozilla cookie data format or just regular HTTP +headers (Set-Cookie style) dumped to a file. It also enables the cookie engine, making libcurl parse and send cookies on subsequent requests with this handle.