Index: sdk/lib/io/http_headers.dart |
diff --git a/sdk/lib/io/http_headers.dart b/sdk/lib/io/http_headers.dart |
index f5b12f6e581ed61839fec1e26a4663d6cdfad217..919761ab6dbedb2e4b9a0f28db22ecc5b039d597 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); |
} |