Chromium Code Reviews| Index: pkg/http/lib/src/base_request.dart |
| =================================================================== |
| --- pkg/http/lib/src/base_request.dart (revision 17246) |
| +++ pkg/http/lib/src/base_request.dart (working copy) |
| @@ -82,7 +82,7 @@ |
| /// Creates a new HTTP request. |
| BaseRequest(this.method, this.url) |
| - : headers = <String>{}; |
| + : headers = {}; |
|
regis
2013/01/18 22:29:42
You are relaxing the map by making it raw. Why not
|
| /// Finalizes the HTTP request in preparation for it being sent. This freezes |
| /// all mutable fields and returns a single-subscription [ByteStream] that |