connectToURL("http://image.blockland.us/detail/69-64-40-157_31400.jpg", "GET", "base/preview.png");
function MyImageDownloader::onDone(%this, %error){ if(%error == 0) { //do stuff! }}connectToURL("http://image.blockland.us/detail/69-64-40-157_31400.jpg", "GET", "base/preview.png", "MyImageDownloader");
Does that actually suffice though? Last time I tried (a while ago) it would still give me chunked images, even with HTTP/1.0 and Accept-Encoding: identity. Only with the more complex and colorful images though, low-detail ones like the example here would not get chunked.