979f82002f
By setting the pathPrefix, all incoming requests are expected to have its uri starting with the path. Then, before doing resource lookup, the prefix is trimmed from the path. BUG=https://code.google.com/p/dart/issues/detail?id=17353 R=kevmoo@google.com Review URL: https://codereview.chromium.org//424063002 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38720 260f80e4-7a28-3924-810f-c04153c831b5
http_server
This package contains a set of high-level classes that, together with HttpServer, makes is easy to provide content through HTTP servers.
NOTE: This package currently only works for
server-side or command-line Dart applications. In other words, if the app
imports dart:io, it can use this package.
Using
Please see the API docs for explanations and examples.
Filing issues
Please file issues for the http package at http://dartbug.com/new.