aboutsummaryrefslogtreecommitdiff
path: root/docs/cmdline-opts/form.d
diff options
context:
space:
mode:
authorPatrick Monnerat <patrick@monnerat.net>2017-10-08 16:15:23 +0100
committerPatrick Monnerat <patrick@monnerat.net>2017-10-08 16:15:23 +0100
commit14d6e207d35792e3e10a674b2e27cf2aa3370bf8 (patch)
tree8a16213e827e88242cb70f3616736808fa25f285 /docs/cmdline-opts/form.d
parentb2df2d47e58d1150f11ea2f42aac6b84fa7f4d00 (diff)
docs: clarify form/mime usage of non-regular data files.
Diffstat (limited to 'docs/cmdline-opts/form.d')
-rw-r--r--docs/cmdline-opts/form.d6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/cmdline-opts/form.d b/docs/cmdline-opts/form.d
index 232d30c07..4cc5f5a39 100644
--- a/docs/cmdline-opts/form.d
+++ b/docs/cmdline-opts/form.d
@@ -25,9 +25,9 @@ the form-field to which portrait.jpg will be the input:
curl -F profile=@portrait.jpg https://example.com/upload.cgi
To read content from stdin instead of a file, use - as the filename. This goes
-for both @ and < constructs. Unfortunately it does not support reading the
-file from a named pipe or similar, as it needs the full size before the
-transfer starts.
+for both @ and < constructs. For this case, as well as for others in which the
+full data size cannot be determined before the transfer starts (as named pipes
+or similar), data is transferred as chunks by HTTP and rejected by IMAP.
You can also tell curl what Content-Type to use by using 'type=', in a manner
similar to: