Hi, i created a simple server with dart:io.
It download an image from flick with the http package like :
http.get(url, headers: {
"Content-Type": "application/octet-binary" }).then((value) { _images[url.split("/").last] = value.body; i++;
if (i >= 30) { if(!_completer.isCompleted) _completer.complete(); } else loop(); });
then a wep app call my server to download an image.
but how server it like a blob ?
on my web app, i specify request.responseType = "blob";
but don't know what to do on the server to send a blob.
any ideas ?
Regards,
Thomas.