This is an illegal mimetype though: there is no "font/" in the official mimetypes. A better mime type would be "application/x-font-opentype" or "application/octet-stream". The first is basically "unregistered mimetype with this name", the second just "binary data"