You could use a container_stream backed by a std::vector or std::string. Then pass that to http_request::set_response_stream(...) before sending out the request. The HTTP response body will then be written into that stream you've provided which is backed by your STL container.
Steve
Steve