Subject: | response->content_type needs to be localized |
$c->response->content_type isn't properly restored after having called a SubRequest with a different content-type than what ends up being rendered in the original call.
This trips me up after doing a subrequest to generate a GraphViz imagemap (text/plain) and then rendering an HTML template (text/html).
/J