set mimetype in download