EllisLab/CodeIgniter — pull request #1211 by obiconbig (2012-03-22 11:20:44+00:00)
Title: add function get_current_content_type to output class and library

function get current content type

you can check content type in function _output

:)

PS. resend from https://github.com/EllisLab/CodeIgniter/pull/1203