yesodweb/wai — pull request #147 by maoe (2013-03-12 12:48:28+00:00)
Title: wai-extra: Expose gzipCheckMime

It would be useful if `gzipCheckMime` was exposed.

Currently `defaultCheckMime` matches only `text/*`. This means that JSON responses are not compressed by the gzip middleware. This small patch allows us to specify custom `gzipCheckMime` function insetad of the default one.