caddy/middleware
Tobias Weingartner b471b7e835 Fixup mime middleware to use a map and error on duplicate extensions.
- The mime middleware used filepath where it should arguably use path.
 - Changed the configuration to use a map instead of scanning an array
   during every request.  The map is static (after configuration), so
   should be fine for concurrent access.
 - Catch duplicate extensions within a configuration and error out.
 - Add tests for new error case.
2016-03-15 23:11:19 -07:00
..
2015-05-09 21:47:02 +02:00
2016-03-10 14:45:23 +00:00
2016-01-06 22:23:18 -07:00
2015-11-15 11:06:50 -07:00
2015-05-24 22:52:34 -04:00
2016-03-11 23:16:28 +09:00