From a11c5f329f89b93efc934942cd212f7a69027ed8 Mon Sep 17 00:00:00 2001 From: Jay Satiro Date: Thu, 18 Feb 2016 19:01:19 -0500 Subject: [PATCH] curl.1: HTTP headers for --cookie must be Set-Cookie style Bug: https://github.com/curl/curl/issues/666 Reported-by: baumanj@users.noreply.github.com --- docs/curl.1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/curl.1 b/docs/curl.1 index 0977a1fd6a..37088ea2a1 100644 --- a/docs/curl.1 +++ b/docs/curl.1 @@ -216,8 +216,8 @@ read previously stored cookie lines from, which should be used in this session if they match. Using this method also activates the cookie engine which will make curl record incoming cookies too, which may be handy if you're using this in combination with the \fI-L, --location\fP option. The file format of the -file to read cookies from should be plain HTTP headers or the Netscape/Mozilla -cookie file format. +file to read cookies from should be plain HTTP headers (Set-Cookie style) or +the Netscape/Mozilla cookie file format. The file specified with \fI-b, --cookie\fP is only used as input. No cookies will be written to the file. To store cookies, use the \fI-c, --cookie-jar\fP -- GitLab