default to html/text mime type if none set