Updated handling of MultiPartRequest.