Index: pkg/http/lib/src/byte_stream.dart |
diff --git a/pkg/http/lib/src/byte_stream.dart b/pkg/http/lib/src/byte_stream.dart |
index 72a53a0e066fc5cc3726ad216d074fbe613add84..3ef0b6eede5abb7fe828f99b313b8011391610f7 100644 |
--- a/pkg/http/lib/src/byte_stream.dart |
+++ b/pkg/http/lib/src/byte_stream.dart |
@@ -35,5 +35,5 @@ class ByteStream extends StreamView<List<int>> { |
toBytes().then((bytes) => decodeString(bytes, encoding)); |
Stream<String> toStringStream([Encoding encoding=Encoding.UTF_8]) => |
- mappedBy((bytes) => decodeString(bytes, encoding)); |
+ wrapStream(mappedBy((bytes) => decodeString(bytes, encoding))); |
} |