allow user-set MIME type