Make multipart dispositionType configurable, close #1776