Tried the below code on OF 8.1 and 8.4 (OSX). In both the cases the data it returned was not complete. Only about half of the page got downloaded. Is there a bug?
void ofApp::setup(){
string url("https://www.127.0.01:8080/public/base.tton");
ofHttpResponse response = ofLoadURL(url);
if (200 == response.status) {
std::cout<<std::endl<<"data===="<<std::endl<<response.data.getText()<<std::endl<<"==============";
} else {
std::cout<<std::endl<<"error loading data"<<std::endl;
}
}