Index: sdk/lib/io/http_impl.dart |
diff --git a/sdk/lib/io/http_impl.dart b/sdk/lib/io/http_impl.dart |
index 900bb3423027cc61139946779e95c4a29eb88891..b4d83af6f213afe73fe422b2b1882bff70e862a3 100644 |
--- a/sdk/lib/io/http_impl.dart |
+++ b/sdk/lib/io/http_impl.dart |
@@ -677,10 +677,10 @@ class _HttpClientRequest extends _HttpOutboundMessage<HttpClientRequest> |
if (!cookies.isEmpty) { |
StringBuffer sb = new StringBuffer(); |
for (int i = 0; i < cookies.length; i++) { |
- if (i > 0) sb.add("; "); |
- sb.add(cookies[i].name); |
- sb.add("="); |
- sb.add(cookies[i].value); |
+ if (i > 0) sb.write("; "); |
+ sb.write(cookies[i].name); |
+ sb.write("="); |
+ sb.write(cookies[i].value); |
} |
headers.add(HttpHeaders.COOKIE, sb.toString()); |
} |