Index: sdk/lib/io/http_impl.dart |
diff --git a/sdk/lib/io/http_impl.dart b/sdk/lib/io/http_impl.dart |
index cea3e11e9144c54473916a32031e89736f8b2b0d..d3bde6f5f7707ce0146790be474dddef79d587e0 100644 |
--- a/sdk/lib/io/http_impl.dart |
+++ b/sdk/lib/io/http_impl.dart |
@@ -863,7 +863,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; |
} |
} |