mirror of
https://github.com/curl/curl.git
synced 2024-11-21 01:16:58 +08:00
made clear that the cookie file format understood is Netscape _and_ Mozilla
This commit is contained in:
parent
5c25c7bbfa
commit
dd344b65f2
12
docs/curl.1
12
docs/curl.1
@ -2,7 +2,7 @@
|
||||
.\" nroff -man curl.1
|
||||
.\" Written by Daniel Stenberg
|
||||
.\"
|
||||
.TH curl 1 "20 April 2001" "Curl 7.7.2" "Curl Manual"
|
||||
.TH curl 1 "8 May 2001" "Curl 7.7.3" "Curl Manual"
|
||||
.SH NAME
|
||||
curl \- get a URL with FTP, TELNET, LDAP, GOPHER, DICT, FILE, HTTP or
|
||||
HTTPS syntax.
|
||||
@ -72,11 +72,11 @@ The data should be in the format "NAME1=VALUE1; NAME2=VALUE2".
|
||||
|
||||
If no '=' letter is used in the line, it is treated as a filename to use to
|
||||
read previously stored cookie lines from, which should be used in this session
|
||||
if they match. Using this method also activates the "cookie parser" which
|
||||
will make curl record incoming cookies too, which may be handy if you're using
|
||||
this in combination with the -L/--location option. The file format of the file
|
||||
to read cookies from should be plain HTTP headers or the netscape cookie file
|
||||
format.
|
||||
if they match. Using this method also activates the "cookie parser" which will
|
||||
make curl record incoming cookies too, which may be handy if you're using this
|
||||
in combination with the -L/--location option. The file format of the file to
|
||||
read cookies from should be plain HTTP headers or the Netscape/Mozilla cookie
|
||||
file format.
|
||||
|
||||
.B NOTE
|
||||
that the file specified with -b/--cookie is only used as input. No cookies
|
||||
|
@ -2,7 +2,7 @@
|
||||
.\" nroff -man [file]
|
||||
.\" Written by daniel@haxx.se
|
||||
.\"
|
||||
.TH curl_easy_setopt 3 "10 April 2001" "libcurl 7.7.2" "libcurl Manual"
|
||||
.TH curl_easy_setopt 3 "8 May 2001" "libcurl 7.7.3" "libcurl Manual"
|
||||
.SH NAME
|
||||
curl_easy_setopt - Set curl easy-session options
|
||||
.SH SYNOPSIS
|
||||
@ -336,8 +336,9 @@ return code). (Added in libcurl 7.7.2)
|
||||
.TP
|
||||
.B CURLOPT_COOKIEFILE
|
||||
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
|
||||
cookie data format or just regular HTTP-style headers dumped to a file.
|
||||
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.
|
||||
.TP
|
||||
.B CURLOPT_SSLVERSION
|
||||
Pass a long as parameter. Set what version of SSL to attempt to use, 2 or
|
||||
|
Loading…
Reference in New Issue
Block a user