Index: sdk/lib/io/http.dart |
diff --git a/sdk/lib/io/http.dart b/sdk/lib/io/http.dart |
index 6764ab2602e7903ffd74715e7fd910b4f441ca76..db453ae0f7c9a05d634d331da3c49f009abb8616 100644 |
--- a/sdk/lib/io/http.dart |
+++ b/sdk/lib/io/http.dart |
@@ -497,7 +497,7 @@ abstract class HttpHeaders { |
*/ |
abstract class HeaderValue { |
/** |
- * Creates a new header value object setting the value part. |
+ * Creates a new header value object setting the value and parameters. |
*/ |
factory HeaderValue([String value = "", Map<String, String> parameters]) { |
return new _HeaderValue(value, parameters); |
@@ -519,6 +519,9 @@ abstract class HeaderValue { |
/** |
* Gets the map of parameters. |
+ * |
+ * This map cannot be modified. invoking any operation which would |
+ * modify the map will throw [UnsupportedError]. |
*/ |
Map<String, String> get parameters; |