Index: pkg/http/lib/src/io_client.dart |
=================================================================== |
--- pkg/http/lib/src/io_client.dart (revision 17411) |
+++ pkg/http/lib/src/io_client.dart (working copy) |
@@ -56,7 +56,7 @@ |
}; |
connection.onResponse = (response) { |
- var headers = <String, String>{}; |
+ var headers = {}; |
response.headers.forEach((key, value) => headers[key] = value); |
if (completed) return; |