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

Unified Diff: pkg/http_server/lib/src/http_multipart_form_data_impl.dart

Issue 19158002: Fix editor warnings in http_server and mime. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 5 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 | « pkg/http_server/lib/src/http_body.dart ('k') | pkg/mime/lib/src/extension_map.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/http_server/lib/src/http_multipart_form_data_impl.dart
diff --git a/pkg/http_server/lib/src/http_multipart_form_data_impl.dart b/pkg/http_server/lib/src/http_multipart_form_data_impl.dart
index de7c53c63445ab7e9b217ec2c6d00ad9ad8c77dc..8b313aa1bdc12da348712a04f7ea821dea849bb4 100644
--- a/pkg/http_server/lib/src/http_multipart_form_data_impl.dart
+++ b/pkg/http_server/lib/src/http_multipart_form_data_impl.dart
@@ -61,7 +61,7 @@ class _HttpMultipartFormData extends Stream implements HttpMultipartFormData {
var remaining = new Map<String, String>();
for (String key in multipart.headers.keys) {
switch (key) {
- case HttpHeaders.CONTENT_TYPE:
+ case 'content-type':
type = ContentType.parse(multipart.headers[key]);
break;
« no previous file with comments | « pkg/http_server/lib/src/http_body.dart ('k') | pkg/mime/lib/src/extension_map.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698