api: set the proper mimetype on bind
api: set the proper mimetype on info