Updated the content type of response to text/html