Hi,
dont't know if you still need it.. a bit late. But perhaps someone
else is prevented from hours of research. You simply have to set this
option to prefix the header to the normal body output.

myRequest.setOpt(new curlpp::options::Header(true));


http://groups.google.com/group/curlpp/browse_thread/thread/f9b695ee4c682a23/50bbc06c3b3ef8dd?lnk=gst&q=header#50bbc06c3b3ef8dd

On 2 Mai, 19:50, Compy <[email protected]> wrote:
> Hey,
>
> I have a curlpp request object that im setting up such as:
>
>                 myRequest.setOpt(new 
> curlpp::options::UserAgent("User-Agent=Mozilla/
> 5.0 (X11; U; Linux i686; ru; rv:1.9.2) Gecko/20100115 Firefox/3.6"));
>                 myRequest.setOpt(new curlpp::options::WriteStream(&os));
>                 myRequest.setOpt(new curlpp::options::Url(url));
>
> After I perform the request, how can I get a customheaderfrom the
> response? I have a customheadersuch as RELAY-CHECK: MISS, and I have
> no idea how I can get that, when I set verbose to true, even with the
> writestream set it goes to STDOUT, but how can I grab that responseheader?
>
> --
> You received this message because you are subscribed to the Google Groups 
> "curlpp" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group 
> athttp://groups.google.com/group/curlpp?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"curlpp" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/curlpp?hl=en.

Reply via email to