Index: utils/pub/curl_client.dart |
=================================================================== |
--- utils/pub/curl_client.dart (revision 17246) |
+++ utils/pub/curl_client.dart (working copy) |
@@ -161,7 +161,7 @@ |
var isRedirect = status >= 300 && status < 400; |
var reasonPhrase = |
Strings.join(statusParts.getRange(2, statusParts.length - 2), " "); |
- var headers = <String>{}; |
+ var headers = {}; |
for (var line in lines) { |
if (line.isEmpty) continue; |
var split = split1(line, ":"); |