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 afaf71c383b52b87717c95d9caa779c12ac04f3b..bcd99dfd81d9d86eed290048b61c4f805c7ebc4d 100644 |
--- a/pkg/http_server/lib/http_server.dart |
+++ b/pkg/http_server/lib/http_server.dart |
@@ -26,11 +26,11 @@ |
* import 'dart:io'; |
* import 'dart:async'; |
* import 'package:http_server/http_server.dart'; |
- * |
+ * |
* void main() { |
* var staticFiles = new VirtualDirectory('.') |
* ..allowDirectoryListing = true; |
- * |
+ * |
* runZoned(() { |
* HttpServer.bind('0.0.0.0', 7777).then((server) { |
* print('Server running'); |
@@ -41,25 +41,25 @@ |
* } |
* |
* ## Virtual directory |
- * |
+ * |
* The [VirtualDirectory] class makes it easy to serve static content |
* from the file system. It supports: |
- * |
+ * |
* * Range-based requests. |
* * If-Modified-Since based caching. |
* * Automatic GZip-compression of content. |
* * Following symlinks, either throughout the system or inside |
* a jailed root. |
* * Directory listing. |
- * |
+ * |
* See [VirtualDirectory] for more information. |
- * |
+ * |
* ## Virtual host |
- * |
+ * |
* The [VirtualHost] class helps to serve multiple hosts on the same |
* address, by using the `Host` field of the incoming requests. It also |
* works with wildcards for sub-domains. |
- * |
+ * |
* var virtualHost = new VirtualHost(server); |
* // Filter out on a specific host |
* var stream1 = virtualServer.addHost('static.myserver.com'); |
@@ -67,24 +67,14 @@ |
* var stream2 = virtualServer.addHost('*.myserver.com'); |
* // Requets not matching any hosts. |
* var stream3 = virtualServer.unhandled; |
- * |
+ * |
* See [VirtualHost] for more information. |
* |
* [pub]: http://pub.dartlang.org/packages/http_server |
*/ |
library http_server; |
-import 'dart:async'; |
-import 'dart:convert'; |
-import 'dart:io'; |
- |
-import 'package:mime/mime.dart'; |
-import "package:path/path.dart"; |
- |
-part 'src/http_body.dart'; |
-part 'src/http_body_impl.dart'; |
-part 'src/http_multipart_form_data.dart'; |
-part 'src/http_multipart_form_data_impl.dart'; |
-part 'src/virtual_directory.dart'; |
-part 'src/virtual_host.dart'; |
- |
+export 'src/http_body.dart'; |
+export 'src/http_multipart_form_data.dart'; |
+export 'src/virtual_directory.dart'; |
+export 'src/virtual_host.dart'; |