Closed
Description
```
var client = http.Client();
var request = http.Request("GET", Uri.parse("$root/$uri"));
client.send(request).then((response) {
double progress = 0.0;
int receved = 0;
response.stream.listen((value) {
receved += value.length;
progress = receved / contentLength;
}
Handler of response.stream.listen called once with all downloaded bytes