curl-users
7.9.4: multipart/form-data (-F) option syntax
From: kromJx <kromJx_at_myrealbox.com>
Date: Sat, 9 Feb 2002 06:52:59 +0000
Date: Sat, 9 Feb 2002 06:52:59 +0000
The choice of ':' as a delimiter for the file content type argument
curl -F "coolfiles=@fil1.gif;type=image/gif"
is rather unfortunate as it makes it difficult to set things like
Content-Type: text/plain; charset=iso-8859-2
and does not (currently) support Content-Transfer-Encoding. When one
uploads a binary file or some text in a language using characters above 127,
'curl' should be instructed to use 'base64', 'quoted-printable' or '8bit'
transfer encoding
Received on 2002-02-09