curl.1: remove URL encoding phrase from --data description
... it could be misleading a reader into thinking it _has_ to be encoded.
This commit is contained in:
Родитель
48043f87b6
Коммит
0a898655e8
10
docs/curl.1
10
docs/curl.1
|
@ -287,11 +287,11 @@ data pieces specified will be merged together with a separating
|
||||||
chunk that looks like \&'name=daniel&skill=lousy'.
|
chunk that looks like \&'name=daniel&skill=lousy'.
|
||||||
|
|
||||||
If you start the data with the letter @, the rest should be a file name to
|
If you start the data with the letter @, the rest should be a file name to
|
||||||
read the data from, or - if you want curl to read the data from stdin. The
|
read the data from, or - if you want curl to read the data from
|
||||||
contents of the file must already be URL-encoded. Multiple files can also be
|
stdin. Multiple files can also be specified. Posting data from a file
|
||||||
specified. Posting data from a file named 'foobar' would thus be done with
|
named 'foobar' would thus be done with \fI--data\fP @foobar. When --data is
|
||||||
\fI--data\fP @foobar. When --data is told to read from a file like that,
|
told to read from a file like that, carriage returns and newlines will be
|
||||||
carriage returns and newlines will be stripped out.
|
stripped out.
|
||||||
.IP "-D, --dump-header <file>"
|
.IP "-D, --dump-header <file>"
|
||||||
Write the protocol headers to the specified file.
|
Write the protocol headers to the specified file.
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче