Chromium Code Reviews| Index: runtime/bin/http.dart |
| diff --git a/runtime/bin/http.dart b/runtime/bin/http.dart |
| index 2f5ee32f7c42c2630c79c6c2fd54663dafb25eff..c99424fb2de781910bc59741a9c89dfdb972f5c0 100644 |
| --- a/runtime/bin/http.dart |
| +++ b/runtime/bin/http.dart |
| @@ -270,6 +270,13 @@ interface HttpHeaders default _HttpHeaders { |
| void removeAll(String name); |
| /** |
| + * Enumerate the headers applying the function [f] to each |
| + * header. The header names in passed in [name] will be all lower |
|
Anders Johnsen
2012/05/07 13:21:27
This sounds odd. :)
Søren Gjesse
2012/05/07 13:51:46
The HTTP header names are case insensitive (define
|
| + * case. |
| + */ |
| + void forEach(void f(String name, List<String> values)); |
| + |
| + /** |
| * Gets and sets the date. The value of this property will |
| * reflect the "Date" header |
| */ |