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
This commit is contained in:
Jay Satiro 2016-02-18 21:07:57 -05:00
parent a11c5f329f
commit bdaaba5315

View File

@ -30,8 +30,8 @@ CURLcode curl_easy_setopt(CURL *handle, CURLOPT_COOKIEFILE, char *filename);
.SH DESCRIPTION .SH DESCRIPTION
Pass a pointer to a zero terminated string as parameter. It should point to 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 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 in either the old Netscape / Mozilla cookie data format or just regular HTTP
HTTP-style headers dumped to a file. headers (Set-Cookie style) dumped to a file.
It also enables the cookie engine, making libcurl parse and send cookies on It also enables the cookie engine, making libcurl parse and send cookies on
subsequent requests with this handle. subsequent requests with this handle.