codahale/dropwizard — pull request #216 by fleaflicker (2012-11-15 22:54:35+00:00)
Title: Fix AssetServlet trimming of '/', add ability to optionally specify a charset in the response's content-type

Two changes to AssetServlet

1. Responses can now optionally include a charset for all text/* types.
2. Cleaned up the error-prone logic involving slash-trimming. Also fixed handling of the root uri path and resource paths (was broken before this) and added an explicit test case.