I just put within 0.7.2-devel some little utility functions that  
allow us to do this:

     // Setting the URL to retrive.
     request.setOpt(new cURLpp::Options::Url(url));
     std::cout << request << std::endl;

     // Even easier version. It does the same thing
     // but if you need to download only an url,
     // this is the easiest way to do it.
     std::cout << cURLpp::Options::Url(url) << std::endl;

This is made from Christopher Smith's suggestion he made from his blog:

http://blog.360.yahoo.com/blog-NGG_XKMyebVXpbF6EpCU?p=169

More to come!

BTW, eventually, I'll put the mercurial repository available.

_______________________________________________
cURLpp mailing list
[email protected]
http://www.rrette.com/mailman/listinfo/curlpp

Reply via email to