Index: pkg/http/lib/src/multipart_request.dart |
diff --git a/pkg/http/lib/src/multipart_request.dart b/pkg/http/lib/src/multipart_request.dart |
index 0272a0b44ffb483dc2afaf256eb201bb57fe3540..1fea89720e02893e8975cef7c12250b944cd50a9 100644 |
--- a/pkg/http/lib/src/multipart_request.dart |
+++ b/pkg/http/lib/src/multipart_request.dart |
@@ -94,7 +94,7 @@ class MultipartRequest extends BaseRequest { |
headers['content-transfer-encoding'] = 'binary'; |
super.finalize(); |
- var controller = new StreamController<List<int>>.singleSubscription(); |
+ var controller = new StreamController<List<int>>(); |
void writeAscii(String string) { |
assert(isPlainAscii(string)); |