Renamed mimetype to content_type