Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(528)

Unified Diff: runtime/bin/http_impl.dart

Issue 10386010: Add enumeration of the HTTP headers (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: runtime/bin/http_impl.dart
diff --git a/runtime/bin/http_impl.dart b/runtime/bin/http_impl.dart
index cc71c563e5c44c23b5952ec913b3bea6d604e22a..8b197d799f576be7125367487e528e59456cfe67 100644
--- a/runtime/bin/http_impl.dart
+++ b/runtime/bin/http_impl.dart
@@ -55,6 +55,10 @@ class _HttpHeaders implements HttpHeaders {
_headers.remove(name);
}
+ void forEach(void f(String name, List<String> values)) {
+ _headers.forEach(f);
+ }
+
String get host() => _host;
void set host(String host) {

Powered by Google App Engine
This is Rietveld 408576698