Profiler should only be shown when content type is set to text/html.

Signed-off-by: crynobone <crynobone@gmail.com>