Index: sdk/lib/io/http_impl.dart |
diff --git a/sdk/lib/io/http_impl.dart b/sdk/lib/io/http_impl.dart |
index a8bca7127da6b350b3380149f63f29b3136b7816..aa7de54a4f56fa14a9b964478c46838de0f0e14f 100644 |
--- a/sdk/lib/io/http_impl.dart |
+++ b/sdk/lib/io/http_impl.dart |
@@ -951,7 +951,7 @@ class _ChunkedTransformer extends StreamEventTransformer<List<int>, List<int>> { |
header.add(hexDigits[length]); |
} else { |
while (length > 0) { |
- header.insertRange(0, 1, hexDigits[length % 16]); |
+ header.insert(0, hexDigits[length % 16]); |
length = length >> 4; |
} |
} |