Changed mimetype to content_type