cURL / Mailing Lists / curl-library / Single Mail


Re: POST binary data content-type

From: Daniel Stenberg <>
Date: Fri, 11 Mar 2016 00:02:57 +0100 (CET)

On Wed, 9 Mar 2016, Dave S wrote:

> I noticed that using --data-binary the curl command is also very slow, and
> the --verbose reveals
> "Content-Type: application/x-www-form-urlencoded"
> Shouldn't this be something like
> "Content-Type: application/binary" ?

Maybe. We use the application/x-www-form-urlencoded type since forever since
that's the content-type browsers use for normal form posts. You can easily
change that if you need to. However in my experience, most server setups don't
really care what the Content-Type is set to.

List admin:
Received on 2016-03-11