<commit_before>// Edit : rewritten for cURLpp 0.7.3
// Note : namespace changed, was cURLpp in 0.7.2 ...

#include <curlpp/cURLpp.hpp>
#include <curlpp/Options.hpp>

// RAII cleanup

curlpp::Cleanup myCleanup;

// Send request and get a result.
// Here I use a shortcut to get it in a string stream ...

std::ostringstream os;
os << curlpp::options::Url(std::string("http://www.wikipedia.org"));

string asAskedInQuestion = os.str();<commit_msg>please work ó.ò<commit_after>#include <CkHttp.h>
#include <CkString.h>

CkHttp http;
CkString html;
html = http.quickGetStr("http://www.w3.org/Protocols/");

printf("%s\n",(const char *)html);
{'fraction_non_alphanumeric': 0.16797488226059654, 'fraction_numerical': 0.01098901098901099, 'mean_word_length': 4.316666666666666, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1839046', 'n_tokens_mistral': 241, 'n_tokens_neox': 229, 'n_words': 60}