if the content type returned is text/html just display the response