1
0
mirror of https://github.com/moparisthebest/curl synced 2024-08-13 17:03:50 -04:00

data.d: remove "Multiple files can also be specified"

It is superfluous and could even be misleading.

Bug: https://curl.haxx.se/mail/archive-2020-01/0016.html
Reported-by: Mike Norton
Closes #4832
This commit is contained in:
Daniel Stenberg 2020-01-21 08:39:47 +01:00
parent 295ea5f641
commit 81e1b1ec23
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -22,9 +22,8 @@ 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 read the data from, or - if you want curl to read the data from stdin. Posting
stdin. Multiple files can also be specified. Posting data from a file named data from a file named \&'foobar' would thus be done with --data @foobar. When
\&'foobar' would thus be done with --data @foobar. When --data is told to read --data is told to read from a file like that, carriage returns and newlines
from a file like that, carriage returns and newlines will be stripped out. If will be stripped out. If you don't want the @ character to have a special
you don't want the @ character to have a special interpretation use --data-raw interpretation use --data-raw instead.
instead.