cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: when POSTing data, when does curl add the x-www-form header?

From: Kees Nijssen <kees.nijssen_at_quicknet.nl>
Date: Tue, 29 May 2012 22:35:09 +0200

Op 29-05-2012 22:24, Kees Nijssen schreef:
> It looks like you just made a typo in your own -H "Content-Type:
> application/vnd.paos+xml" option. It depends a little on your
> mail-client, but the dash between "Content" and "Type" isn't the
> regular one! That's why curl doesn't replace the original header entry.
>
What I meant (and should have written...) is that detecting the typo
depends on the way your mail-client displays the text. I noticed it on
my iPad, but not in Thunderbird...

Kees

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2012-05-29