cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: POST binary data content-type

From: Dave S <snidely.too_at_gmail.com>
Date: Thu, 10 Mar 2016 16:37:25 -0800

On Thu, Mar 10, 2016 at 3:02 PM, Daniel Stenberg <daniel_at_haxx.se> wrote:

> 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.
>

Okay. And as I said, I figured out the real problem I was having.

/dps

> 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" ?
>>
>
>
>

-------------------------------------------------------------------
List admin: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2016-03-11