]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
data.d: emphasize no conversion
authorDaniel Stenberg <daniel@haxx.se>
Thu, 23 Mar 2023 10:48:45 +0000 (11:48 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 23 Mar 2023 14:35:25 +0000 (15:35 +0100)
When asking curl to send a POST, curl does not encode or change the data.

Ref: #10820
Closes #10823

docs/cmdline-opts/data.d

index 7298615c539f05b4409d48eee39882847d8b9d47..ff8a3b0b628696feee81e83cdd1a5a449b0b2c3c 100644 (file)
@@ -35,3 +35,7 @@ data from a file named 'foobar' would thus be done with --data @foobar. When
 --data is told to read from a file like that, carriage returns and newlines
 will be stripped out. If you do not want the @ character to have a special
 interpretation use --data-raw instead.
+
+The data for this option is passed on to the server exactly as provided on the
+command line. curl will not convert it, change it or improve it. It is up to
+the user to provide the data in the correct form.