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

Unified Diff: sdk/lib/io/http.dart

Issue 14113006: Fix HttpBodyHandler to handle missing mimeType. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Add ContentType.mimeType. Created 7 years, 8 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
« no previous file with comments | « no previous file | sdk/lib/io/http_body_impl.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/io/http.dart
diff --git a/sdk/lib/io/http.dart b/sdk/lib/io/http.dart
index a2b063256c7432d0d24074632919642b8a62c4ea..6ec396133f6bd7fd5e8d99a2dbca9392d037af6f 100644
--- a/sdk/lib/io/http.dart
+++ b/sdk/lib/io/http.dart
@@ -509,6 +509,11 @@ abstract class ContentType implements HeaderValue {
}
/**
+ * Gets the mime-type, without the charset.
Søren Gjesse 2013/04/15 11:21:21 without the charset -> without any parameters
Anders Johnsen 2013/04/15 11:24:19 Ahh, ty.
+ */
+ String get mimeType;
+
+ /**
* Gets the primary type.
*/
String get primaryType;
« no previous file with comments | « no previous file | sdk/lib/io/http_body_impl.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698