Get a range of bytes from the input data.
@override Future<int> get length async { try { return int.parse(headers['content-length'].toString()); } catch (e) { return 0; } }