| |
|
|
|
cURL Mailing List Monthly Index Single Mail
curlpp mailing list Archives
[cURLpp] Changing Content-type in HTTP POST
From: John Burnette <john.burnette_at_gmail.com>
Date: Wed, 29 Mar 2006 07:07:08 -0800
Hi all,
I tried sending this out a month or so ago but was never able to resolve the
// Setting the URL to retrive.
std::list<std::string> HeaderData;
m_HTTP_Handle.setOpt(new cURLpp::Options::HttpHeader(HeaderData));
m_HTTP_Handle.setOpt( new cURLpp::Options::PostFields( pBinaryData )
m_HTTP_Handle.perform();
When I send this I see the following in my terminal:
* About to connect() to 192.168.1.101 port 8080
Everything is perfect except that I my header is still set to the default:
Can anyone see what I am doing wrong (or not doing)?
By the way, I have this working perfectly using the regular C-binding.
John
_______________________________________________
These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info