Added a method for setting the Content-type to text/html.