Subject: | Support missing content types: i.e. JSON |
The MIME type for JSON is application/json, which doesn't get identified
as text by the regexp in this module.
It would be nice to have to have the ability to override or add to the
regexp through a config option.. or at the very least add json$ to the
regexp!
$c->response->content_type =~ /^text|xml$|javascript$|json$/;
--
Andrew Bryan
abryan+bc@pangeamedia.com