diff options
Diffstat (limited to 'docs/cmdline-opts')
-rw-r--r-- | docs/cmdline-opts/form.d | 6 |
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: |