From: Daniel Stenberg Date: Thu, 23 Mar 2023 10:48:45 +0000 (+0100) Subject: data.d: emphasize no conversion X-Git-Tag: curl-8_1_0~311 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5ddd5f2619bd530e598d15c4af65d7b02eca34e1;p=thirdparty%2Fcurl.git data.d: emphasize no conversion When asking curl to send a POST, curl does not encode or change the data. Ref: #10820 Closes #10823 --- diff --git a/docs/cmdline-opts/data.d b/docs/cmdline-opts/data.d index 7298615c53..ff8a3b0b62 100644 --- a/docs/cmdline-opts/data.d +++ b/docs/cmdline-opts/data.d @@ -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.