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

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

Issue 17573011: Add auto-detection of MIME-type in VirtualDirectory. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 6 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 | pkg/http_server/lib/src/virtual_directory.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/http_server/lib/http_server.dart
diff --git a/pkg/http_server/lib/http_server.dart b/pkg/http_server/lib/http_server.dart
index 227f843cdeb4e83a469339b50f2d793bdabe534d..1dd07fcc4c57ae4e23f1056001daa50ce39efa5c 100644
--- a/pkg/http_server/lib/http_server.dart
+++ b/pkg/http_server/lib/http_server.dart
@@ -7,6 +7,8 @@ library http_server;
import 'dart:async';
import 'dart:io';
+import 'package:mime/mime.dart';
+
part 'src/virtual_directory.dart';
part 'src/virtual_host.dart';
« no previous file with comments | « no previous file | pkg/http_server/lib/src/virtual_directory.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698