| |
|
|
|
cURL Mailing List Monthly Index Single Mail
curlpp mailing list Archives
[cURLpp] problem setting POST header
From: John Burnette <john.burnette_at_gmail.com>
Date: Fri, 17 Feb 2006 17:49:07 -0800
Hi all,
I am trying to set the "content-type" of the header that I am POSTing.
// 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)?
Thanks for your help,
John
_______________________________________________
These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info