typo: minetype -> mimetype