Also make the default mimetype configurable