cakephp/cakephp — pull request #1334 by thegallagher (2013-06-06 14:36:02+00:00)
Title: Fix content-type header in cached views. Fixes issue #2358

This patch fixes [issue #2358](https://cakephp.lighthouseapp.com/projects/42648/tickets/2358-cachehelper-defect-with-response).

It's not the most elegant solution but it seems to work. Let me know if there is any issues or if it can be improved.