Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(346)

Unified Diff: pkg/http/lib/src/io_client.dart

Issue 12021022: Stop supporting map literals with 1 type argument (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: pkg/http/lib/src/io_client.dart
===================================================================
--- pkg/http/lib/src/io_client.dart (revision 17246)
+++ pkg/http/lib/src/io_client.dart (working copy)
@@ -56,7 +56,7 @@
};
connection.onResponse = (response) {
- var headers = <String>{};
+ var headers = <String, String>{};
response.headers.forEach((key, value) => headers[key] = value);
if (completed) return;

Powered by Google App Engine
This is Rietveld 408576698