Index: sdk/lib/io/http_headers.dart |
diff --git a/sdk/lib/io/http_headers.dart b/sdk/lib/io/http_headers.dart |
index 261f1cd124ebeeb849b6e8645d670b00e3b29f9a..101bbc24f54d66294bd8d317adddd620f4fc67ce 100644 |
--- a/sdk/lib/io/http_headers.dart |
+++ b/sdk/lib/io/http_headers.dart |
@@ -48,7 +48,7 @@ class _HttpHeaders implements HttpHeaders { |
if (values != null) { |
int index = values.indexOf(value); |
if (index != -1) { |
- values.removeRange(index, 1); |
+ values.removeRange(index, index + 1); |
} |
if (values.length == 0) _headers.remove(name); |
} |