I presume mimetype, node.ownerDocument.contentType should be it.