Fixed where the content type would always return html.