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 188dafb60023e9e532aba6903bfb754d7df5b7db..a87d27ba40e2cd9dde5db6423c241b7f45da81c1 100644 |
--- a/pkg/http/lib/src/streamed_request.dart |
+++ b/pkg/http/lib/src/streamed_request.dart |
@@ -40,6 +40,6 @@ class StreamedRequest extends BaseRequest { |
/// [sink]. |
ByteStream finalize() { |
super.finalize(); |
- return new ByteStream(_controller); |
+ return new ByteStream(_controller.stream); |
} |
} |