Commit f7fa689d authored by Adam Barth's avatar Adam Barth

Add support for HEAD requests

parent e98f8cc0
......@@ -18,7 +18,7 @@ void printUsage(parser) {
void addRoute(var router, String route, String path) {
router.add(
route,
['GET'],
['GET', 'HEAD'],
createStaticHandler(
path,
serveFilesOutsidePath: true,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment