juju/charmstore — pull request #11 by rogpeppe (2014-06-27 14:21:30+00:00)
Title: charmstore: simplify serving code

We can use method expressions now, and http.StripPrefix
makes the code simpler too, although the tests need
to be changed to account for the fact that the handlers
now mutate the request. The latter is worth doing anyway
though, IMHO, to prevent possible cross-test bleedthrough.