Index: pkg/http/lib/src/streamed_request.dart |
diff --git a/pkg/http/lib/src/streamed_request.dart b/pkg/http/lib/src/streamed_request.dart |
index ded21e0b0756a9a725619fb249f2d87c2597a345..188dafb60023e9e532aba6903bfb754d7df5b7db 100644 |
--- a/pkg/http/lib/src/streamed_request.dart |
+++ b/pkg/http/lib/src/streamed_request.dart |
@@ -33,7 +33,7 @@ class StreamedRequest extends BaseRequest { |
/// Creates a new streaming request. |
StreamedRequest(String method, Uri url) |
: super(method, url), |
- _controller = new StreamController<List<int>>.singleSubscription(); |
+ _controller = new StreamController<List<int>>(); |
/// Freezes all mutable fields other than [stream] and returns a |
/// single-subscription [ByteStream] that emits the data being written to |