allow seting of mime type