first of all I'm aware of the fact that I'm not the first person to ask this, but I do need a different solution than libcurl.
What I want to do basically is make a HTTP request to a server and read the response into an std::string value (char* or CString would be fine as well).
libcurl is too big for my preference (I need to do static linking; I can't ship DLLs with my application and I'd like to keep it as small as possible, curl makes my app about 3M bigger).
Thanks for helping!
CStringwhich indicates you're using the MFC framework, which is way larger than cURL. It also indicates you're targeting Windows, and even on the smallest Windows phone systems a few MB is not very much these days.