change content type in reqhandler to html