codegangsta/martini-contrib — pull request #53 by danawoodman (2013-12-09 01:23:50+00:00)
Title: return `Content-Type: application/json` in `ErrorHandler

The `ErrorHandler` defaults to returning `text/plain` despite the fact that it actually returns JSON. I've set the `Content-Type` header to `application/json; charset=utf-8`.