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.
--
/ daniel.haxx.se
-------------------------------------------------------------------
List admin: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html