From 612a61b267a95d3ac1dddc2f579888c7a595ddbd Mon Sep 17 00:00:00 2001 From: Colin Hogben Date: Wed, 14 Dec 2011 13:30:54 +0000 Subject: Correct default upload mimetype in manual The default content-type for file uploads is application/octet-stream, not text/plain as stated in the MANUAL. --- docs/MANUAL | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/MANUAL') diff --git a/docs/MANUAL b/docs/MANUAL index ce617138f..da073104c 100644 --- a/docs/MANUAL +++ b/docs/MANUAL @@ -328,7 +328,7 @@ POST (HTTP) If the content-type is not specified, curl will try to guess from the file extension (it only knows a few), or use the previously specified type (from an earlier file if several files are specified in a list) or else it will - using the default type 'text/plain'. + use the default type 'application/octet-stream'. Emulate a fill-in form with -F. Let's say you fill in three fields in a form. One field is a file name which to post, one field is your name and one -- cgit v1.2.3